Hi,
I successfully had my letsencrypt certificate for xxx.fr and phpmyadmin.xxx.fr one year ago. Now, I would like to add some new subdomain, but I get an error when running
#letsencrypt --apache
Failed authorization procedure. newsubdomain.xxx.fr (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to xx.xx.xx.xx:443 for tls-sni-01 challenge, phpmyadmin.xxx.fr (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to xx.xx.xx.xx:443 for tls-sni-01 challenge, xxx.fr (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to xx.xx.xx.xx:443 for tls-sni-01 challenge
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: xxx.fr
Type: connection
Detail: Failed to connect to xx.xx.xx.xx:443 for tls-sni-01
challenge
Domain: newsubdomain.xxx.fr
Type: connection
Detail: Failed to connect to xx.xx.xx.xx:443 for tls-sni-01
challenge
Domain: phpmyadmin.xxx.fr
Type: connection
Detail: Failed to connect to xx.xx.xx.xx:443 for tls-sni-01
challenge
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
This is hosted on a VPS provided by OVH.
I have a A field : xxx.fr. -> xx.xx.xx.xx which I checked and is correct
I have 2 CNAME fields : phpmyadmin.xxx.fr. -> xxx.fr. and mysubdomain.xxx.fr. -> xxx.fr.
I have in my firewall:
# HTTP
iptables -t filter -A OUTPUT -p tcp --dport 80 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 80 -j ACCEPT
# HTTPS In
iptables -t filter -A OUTPUT -p tcp --dport 443 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 443 -j ACCEPT
So I don’t get what could be wrong…
I checked similar questions, but it doesn’t seem to apply to me…
Thanks a lot for any help provided !