AMM wrote:
Recently I switched to OpenSSL 3.2 which now defaults to security level
2 by default. Which means that it now requires DH key to be atleast 2048
bit long.
BTW: so no DANE support enabled for sendmail?
Due to this when sendmail sends email to (now broken) server, which
still uses 1024 bit DH keys, then email fails with "DH key too small"
SSL error.
Did you try to disable ciphersuites which use DH?
But I do not want to disable TLS completely. I just want it to switch to security level 1.
Can you override it via the OpenSSL config file?
As documented:
Note: OpenSSL 3 loads by default an openssl.cnf file from a location
specified in the library which may cause unwanted behaviour in
sendmail. Hence sendmail sets the environment variable OPENSSL_CONF
to /etc/mail/sendmail.ossl to override the default. The file name
can be changed by defining confOPENSSL_CNF in the mc file; using
an empty value prevents setting OPENSSL_CONF. Note: referring to
a file which does not exist does not cause an an error.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)