mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
58cb1e0341
commit
6568017658
@ -74,7 +74,9 @@ static void SetupSslContext(SSL_CTX *sslContext, const String& pubkey, const Str
|
||||
SSL_CTX_set_session_id_context(sslContext, (const unsigned char *)"Icinga 2", 8);
|
||||
|
||||
// Explicitly load ECC ciphers, required on el7 - https://github.com/Icinga/icinga2/issues/7247
|
||||
#ifdef SSL_CTX_set_ecdh_auto
|
||||
SSL_CTX_set_ecdh_auto(sslContext, 1);
|
||||
#endif /* SSL_CTX_set_ecdh_auto */
|
||||
|
||||
if (!pubkey.IsEmpty()) {
|
||||
if (!SSL_CTX_use_certificate_chain_file(sslContext, pubkey.CStr())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user