Hello,
My domain is:
lodomusbcn.com
I ran this command:
certbot --apache -d lodomusbcn.com,www.lodomusbcn.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for lodomusbcn.com
http-01 challenge for www.lodomusbcn.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.lodomusbcn.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.lodomusbcn.com/.well-known/acme-challenge/HBIRfOu0E__wsVfTklUo1kXN7NvFInazu-V3tGnNaDE: Timeout during connect (likely firewall problem)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: www.lodomusbcn.com
Type: connection
Detail: Fetching
http://www.lodomusbcn.com/.well-known/acme-challenge/HBIRfOu0E__wsVfTklUo1kXN7NvFInazu-V3tGnNaDE:
Timeout during connect (likely firewall problem)
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.
My web server is (include version): Apache
The operating system my web server runs on is (include version): Ubuntu 16.04
What to do? I disabled the firewall and I get the same error. It used to work a couple of months ago, just upgraded the certbot version.
Thank you