Current OpenSSL version
OpenSSL 1.1.1d 10 Sep 2019 (Library: OpenSSL 1.1.1g 21 Apr 2020)
Current openssl.cnf
configuration
At the top of the file
openssl_conf = default_conf
At the bottom of the file
[default_conf]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=1
No Ciphersuites
directive is set.
Supported cipher list differs from configuration
However, when I asks for the enabled ciphers with openssl ciphers -s -v
, I get ciphers like :
DHE-RSA-AES256-SHA SSLv3 Kx=DH Au=RSA Enc=AES(256) Mac=SHA1
ECDHE-ECDSA-AES128-SHA TLSv1 Kx=ECDH Au=ECDSA Enc=AES(128) Mac=SHA1
ECDHE-RSA-AES128-SHA TLSv1 Kx=ECDH Au=RSA Enc=AES(128) Mac=SHA1
DHE-RSA-AES128-SHA SSLv3 Kx=DH Au=RSA Enc=AES(128) Mac=SHA1
Should I define a Ciphersuites
setting, or is openssl ciphers -s -v
unreliable in some way ?
Documentation
-s Only list supported ciphers: those consistent with the security level, and minimum and maximum protocol version.
While SecLevel 1 permits SSLv3 and TLSv1, MinProtocol doesn't.
Sources :