My domain is: www.lombaoestudios.com
I downloaded the latest version of certbot from its official website. I’m not interested in the autoconfig options so I ran this command:
certbot-auto --apache certonly
It produced this output:
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.lombaoestudios.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.lombaoestudios.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.lombaoestudios.com/.well-known/acme-challenge/k-MaLAn2WwXSzC6EIEBFGfMK7KTgGxxDxdG7hCENM_Y: Timeout after connect (your server may be slow or overloaded)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: www.lombaoestudios.com
Type: connection
Detail: Fetching
http://www.lombaoestudios.com/.well-known/acme-challenge/k-MaLAn2WwXSzC6EIEBFGfMK7KTgGxxDxdG7hCENM_Y:
Timeout after connect (your server may be slow or overloaded)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA 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.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
My web server is (include version):
Apache 2.4
The operating system my web server runs on is (include version):
opensuse 42.3 Leap
My hosting provider, if applicable, is:
1and1
I can login to a root shell on my machine (yes or no, or I don’t know):
Yes, it’s a dedicated server
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No
I found out that the LetsEncrypt service queries the Google DNS service. I went there and queried my domain name and it fully resolves to the right IP: 74.208.68.209 both with A records and AAAA records as the error message suggests. So, I don’t know what the issue might be. In other previous scenarios where I created the manual .well_know/acme-challenge key I even put the expected url in my browser and it opens perfectly. My guess is LetsEncrypt isn’t resolving my server’s DNS record properly.
Any ideas ?