I read all the threads about this error, but I could not solve my problem in 1 month.
The following error appears when I run the command line:
I imagine the problem is port 443, but I do not know how to fix it, I’ve already disabled the firewall on my machine.
FailedChallenges: Failed authorization procedure. mercadocaseiro.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 18.104.22.168:443 for tls-sni-01 challenge IMPORTANT NOTES: - The following errors were reported by the server: Domain: mercadocaseiro.com Type: connection Detail: Failed to connect to 22.214.171.124: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 my httpd.conf:
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName mercadocaseiro.com ServerAlias mercadocaseiro.com *.mercadocaseiro.com SSLEngine on UseCanonicalName on SSLStrictSNIVHostCheck on LimitRequestBody 1048576 DocumentRoot /var/www/html </VirtualHost> </IfModule>