Unable to renew certificate for multiple domains. As far as I can tell .well-known is accessible on all, disabled ipv6, no firewall should be blocking ports 80 or 443. This happens every time I have to renew, sometimes doing new certificates works, and sometimes it just seems to work at random after a while, but I’ve never understood the problem and this time I can’t get past it with certbot renew so would like some help. Letsdebug shows all domains OK.
My domain is:
robinince.net
www.robinince.net
www.anacarlamiranda.com
robince.net
www.robince.net
I ran this command:
certbot renew --dry-run --preferred-challenge http
It produced this output:
RUN 1:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/www.robince.net.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.robince.net
http-01 challenge for www.robinince.net
http-01 challenge for robince.net
http-01 challenge for robinince.net
http-01 challenge for www.anacarlamiranda.com
Using the webroot path /var/www/html-www.robinince.net/_site for all unmatched domains.
Waiting for verification…
Challenge failed for domain robinince.net
Challenge failed for domain www.anacarlamiranda.com
http-01 challenge for robinince.net
http-01 challenge for www.anacarlamiranda.com
Cleaning up challenges
Attempting to renew cert (www.robince.net) from /etc/letsencrypt/renewal/www.robince.net.conf produced an unexpected error: Some challenges have failed… Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/www.robince.net/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/www.robince.net/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: robinince.net
Type: connection
Detail: During secondary validation: Fetching
http://robinince.net/.well-known/acme-challenge/MeZ2Nv0dZCUzvbn4PWH6_OTHeaf15PjCA8So0RrNiYw:
Timeout during connect (likely firewall problem)Domain: www.anacarlamiranda.com
Type: connection
Detail: Fetching
http://www.anacarlamiranda.com/.well-known/acme-challenge/McQVeaaVxhVEVKHJI5q18eYmH2Z0tznXjSw3GqA_g9E:
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.
RUN 2 (note that the domains that fail are different each time):
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/www.robince.net.conf
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for robinince.net
http-01 challenge for www.anacarlamiranda.com
http-01 challenge for robince.net
http-01 challenge for www.robince.net
http-01 challenge for www.robinince.net
Using the webroot path /var/www/html-www.robinince.net/_site for all unmatched domains.
Waiting for verification…
Challenge failed for domain www.robince.net
Challenge failed for domain www.robinince.net
http-01 challenge for www.robince.net
http-01 challenge for www.robinince.net
Cleaning up challenges
Attempting to renew cert (www.robince.net) from /etc/letsencrypt/renewal/www.robince.net.conf produced an unexpected error: Some challenges have failed… Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/www.robince.net/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/www.robince.net/fullchain.pem (failure)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.robince.net
Type: connection
Detail: Fetching
http://www.robince.net/.well-known/acme-challenge/0tJvigjK2VG-NKtjFlerQrGS0bZsC4gYpLHKUjQ13AE:
Timeout during connect (likely firewall problem)Domain: www.robinince.net
Type: connection
Detail: Fetching
http://www.robinince.net/.well-known/acme-challenge/48VuxevwhSbXLxpeii7zJmK4n36ZENuiFshnSpr3jVQ:
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 2.4.6
The operating system my web server runs on is (include version):
Centos 7
My hosting provider, if applicable, is:
Linode
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot 1.3.0