How to resolve the "Correct zName not found for TLS SNI challenge" error when i try renew certificate

Hi

I resolved this issue by disabling IPv6 on my Ubuntu 14.04 machine for Apache 2.4 as my server does not have a real IPv6 address.

To accomplish this, I explicitly set the IP address in /etc/apache2/ports.conf
Listen <IP>:80 Listen <IP>:443

and in all vhosts:
<VirtualHost <IP>:80>

instead of
<VirtualHost *:80>

After these changes, netstat -lnp | egrep ":443|:80" shows tcp in the first column instead of tcp6.

Then, the cerbot renew worked like a charm.

Best regards
Frederick Thomssen

1 Like