I’ve been using certbot for many years on my home server that hosts a few domains and runs an email server. I cannot get a static IP directly through my internet provider, so I have a static IP VPN set up on this server for that purpose.
About 6 months ago the certbot automatic renewal failed. I tried renewing manually but it failed the http challenges. I’ve shown the result below for the hostname jezzubu.kehoe.org, which is the FQDN of the server and has a generic apache site on it (the actual websites are on virtual hosts). I have checked jezzubu.kehoe.org on https://letsdebug.net and it said all was OK. I followed the apache access logs and saw one successful retrieval of the /.well-known/acme-challenge/… file when I run the certbot command. How many retrievals should I expect?
I’m wondering if the IP address I have from my VPN provider has been tagged as Chinese/VPN and being blocked from one of the Letsencrypt challenge servers. The VPN endpoint is in Phoenix, AZ, but sometimes when I open Google on a browser on a VM that shares that IP, the google login prompt is in Chinese (not always, it flips back and forth from English). I believe I’m the only one using this IP, but maybe a block of IP’s had been tagged, or maybe the private IP is not as private as advertised. Also, before this cert issue I started having an issue with incoming SMTP connections on port 25 being blocked through the VPN connection from some origins (not all origins); I had to set up a secondary MX on a cheap VPS to get around that.
Please help, I’m limping along with self-signed certificates but that’s causing all sorts of other issues.
My domain is: jezzubu.kehoe.org
I ran this command: sudo certbot --apache -d jezzubu.kehoe.org
It produced this output:
Requesting a certificate for jezzubu.kehoe.org
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: jezzubu.kehoe.org
Type: connection
Detail: During secondary validation: 23.81.125.21: Fetching http://jezzubu.kehoe.org/.well-known/acme-challenge/RKxQrUaEPP9lrpL77t7hRkeyyNCXRsbme9rRck4lCPg: Timeout during connect (likely firewall problem)Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): Apache 2.4.52-1ubuntu
The operating system my web server runs on is (include version): Ubuntu 22.04.5 LTS
My hosting provider, if applicable, is: self-hosted
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 3.0.0