And there was some issue with OpenSSL 3.1.x and a bug reported was also
filed with OpenSSL. I can not recall what the issue was. I just faintly
So just wanted to know, if this is still the case? Is the OpenSSL bug resolved?
Or can sendmail be used with OpenSSL 3.4.x series safely now?
EOPENSSL_CONF=/etc/mail/sendmail.ossl
In my case this file does not exist.
Note: OpenSSL 3 loads by default an openssl.cnf file from a location specified in the library which may cause unwanted behaviour in sendmail.
It is not clear what unwanted behaviour can occur if OpenSSL defaults
are used?
Didn't sendmail use OpenSSL defaults, earlier too?
Ideally, what setting should be mentioned in /etc/mail/sendmail.ossl?
sendmail never explicitly use{s,d} OpenSSL config files.
None.
Which would mean that if the defaults compiled into OpenSSL change, then Sendmail's behavior might also unexpectedly change.
The thing that comes to mind is the OpenSSL team changing what ciphers / algorithms / key lengths / etc. are set as the default in the compiled library.
Let's hope the RFCs are followed - after all, this is about
interoperability.
LOCAL_CONFIGAES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:
O CipherList=ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-
O DHParameters=/etc/ssl/dhparams.pem
O ServerSSLOptions=+SSL_OP_CIPHER_SERVER_PREFERENCE
Check the OpenSSL config file / documentation, e.g., wrt
"security level".
Thank you for your response. However, it is still not clear what
unwanted behaviour can occur? If you can explain, then please do.
Currently I have this in sendmail.mc file: (using from few years)
CipherList= ...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:27:48 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,518 |