Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: 3111skyline.com
I ran this command: certbot renew
It produced this output:
[23:13 valkyrie:/srv/http/tmp] # certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/3111skyline.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/usr/lib/python3.12/site-packages/certbot/ocsp.py:238: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to this_update_utc.
if not response_ocsp.this_update:
/usr/lib/python3.12/site-packages/certbot/ocsp.py:240: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to this_update_utc.
if response_ocsp.this_update > now + timedelta(minutes=5):
/usr/lib/python3.12/site-packages/certbot/ocsp.py:242: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to next_update_utc.
if response_ocsp.next_update and response_ocsp.next_update < now - timedelta(minutes=5):
Renewing an existing certificate for 3111skyline.com and 15 more domains
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: drrankin.com
Type: connection
Detail: During secondary validation: 66.76.46.195: Fetching http://drrankin.com/.well-known/acme-challenge/CYwoluh_N-pwMztXv9Wsqp4qTIca8lVFDajberP7V2w: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Failed to renew certificate 3111skyline.com with error: Some challenges have failed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/3111skyline.com/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/let
My web server is (include version): apache 2.4.62-1
The operating system my web server runs on is (include version): Archlinux
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don't know): Yep
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): none command-line only
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 3.0.0
What is odd is 3111skyline.com is the primary, but only 1 of 15 domains in the certificate. I have renewed these domains some 20 times since 2019 and never experienced any issue. The error said "likely firewall"
, so I disabled iptables
and fail2ban
and re-ran the certbot renew
and it completed fine.
My firewall has not changed (other than perhaps different IP in the various blocklists) since the last time certificates were updated. I have never had this happen before and I do not understand what part of my "firewall" made the renewal fail. I have always renewed without disabling the firewall in the past. Why would it fail this time and then succeed immediately after taking the firewall down (something I am remiss to do in this polluted internet environment we have allowed to be created)
I've reviewed the letsencrypt.log.1
and can find where:
"During secondary validation: 66.76.46.195: Fetching http://drrankin.com/.well-known/acme-challen
ge/CYwoluh_N-pwMztXv9Wsqp4qTIca8lVFDajberP7V2w: Timeout during connect (likely firewall problem)"
But I have no clue how that failure is now somehow related to my firewall. However the empirical evidence from having taken down the firewall and then having certbot
succeed suggests it is. I need to understand why so I can fix the firewall, if needed, so this doesn't repeat on the next update.
What to check?