No SMTP servers were available — SSL_connect returned=1 errno=0 state=error: dh key too small

Hi Sir,

My web server is CaddyServer and I’m using CaddySSL. Im getting below error when I send emails securely via TLS.


**SSL_connect returned=1 errno=0 state=error: dh key too small**

My OS: Ubuntu 20.01

Can anyone please help me solve this. Thank you in advance!

Kind Regards,
Xeny

Caddy is an HTTP server. SMTP is not HTTP. Caddy is not the right tool to proxy SMTP connections.

You may use caddy-l4 which would allow you to proxy connections at the TCP level GitHub - mholt/caddy-l4: Layer 4 (TCP/UDP) app for Caddy

Please fill out the help topic template when posting on the forums.

This topic was automatically closed after 30 days. New replies are no longer allowed.