Always set security level to 0 for openssl versions >= 1.1.0
In version 1.1.0 of OpenSSL, a security level was introduced that enforces specific settings for certificates etc. This PR sets the security level to 0, to retain the functionality that previous versions of openssl had, and preventing errors like: 140088222534656:error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak:../ssl/ssl_rsa.c:310 See https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_security_level.html for more information about security levels. Signed-off-by:Elias Norberg <elias@aisle.se> Signed-off-by:
Daniel Lenski <dlenski@gmail.com>
Showing
Please register or sign in to comment