Joe Brennan wrote:
> Jul 8 09:37:35 oats sendmail[2749]: STARTTLS=client: 2749:error:14082174:SSL
> routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small:s3_clnt.c:2429:
> The problem is I can't figure out how to fix it. Please note we are the client, sending.
Contact the people who maintain those servers and tell them to fix
their setup.
> openssl dhparam -out /etc/mail/ssl/dhparams.pem 1024
That doesn't help anything on the client side.
8.15.2/8.15.2 2015/07/03
...
DHParameters now by default uses an included 2048 bit prime.
...
Also note that this option applies to the server side only.
> Would you think the problem is in the openssl library, or the old sendmail, or a sendmail
> configuration?
Newer openssl versions enforce a lower limit (768 bits?), so you could
say it's their fault...
You could try to disable the use of DH ciphers, but that's just another
ugly hack... (and breaks PFS with sites that are properly configured).
If you would use a recent sendmail version, you could set the ciphers per
host...
BTW: that LOCAL_CONFIG stuff is ugly, please see cf/README how
to use the proper mc features.
It's always great to see that kind of bad advice one some website...
--
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.