There is apparently a bug in the certbot script. I have been hosting several http only web pages for years and today I decided to try to get https working. I ran "sudo certbot --apache" then answered a few questions and it exited leaving my website working just fine with https now. That part seemed to go very smoothly. However, when I tried to do a dry run on the renewal, I get several errors indicating a failure. The renewal script seems to be looking for a non-existant hidden folder in the web folders. In addition, it seems to be trying to access the folder with http instead of https - http is redirected to https so apache returns "301 Moved Permanently". I have not modified any portion of the apache scripts since certbot modified them.
So certbot made the server work with ssl seemingly ok, but either it did not configure things correctly for the renewal or the renewal script isn't working right. If there is something about my server that made it unhappy, it didn't say.
Below is the other info requested.....
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:
dombird.org et al
I ran this command:
certbot renew --dry-run -v
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/dombird.org.conf
Cannot extract OCSP URI from /etc/letsencrypt/archive/dombird.org/cert1.pem
Certificate not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Simulating renewal of an existing certificate for dombird.org and 5 more domains
Performing the following challenges:
http-01 challenge for dombird.org
http-01 challenge for galliform.com
http-01 challenge for irontonfurnaces.com
http-01 challenge for www.dombird.org
http-01 challenge for www.galliform.com
http-01 challenge for www.irontonfurnaces.com
Waiting for verification...
Challenge failed for domain dombird.org
Challenge failed for domain irontonfurnaces.com
Challenge failed for domain www.dombird.org
Challenge failed for domain www.irontonfurnaces.com
http-01 challenge for dombird.org
http-01 challenge for irontonfurnaces.com
http-01 challenge for www.dombird.org
http-01 challenge for www.irontonfurnaces.com
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: dombird.org
Type: connection
Detail: During secondary validation: 76.137.25.32: Fetching http://dombird.org/.well-known/acme-challenge/E9s8QYKXtKSui1ga2B0QsZ9D-aitAWRWdXAQPcCtORc: Connection refused
Domain: irontonfurnaces.com
Type: connection
Detail: During secondary validation: 76.137.25.32: Fetching http://irontonfurnaces.com/.well-known/acme-challenge/2E7AvUlqbhfv-Ft4K5RGZyz6hUIhSwY-bqOHlkYdNKo: Connection refused
Domain: www.dombird.org
Type: connection
Detail: During secondary validation: 76.137.25.32: Fetching http://www.dombird.org/.well-known/acme-challenge/SCYq8k5ePsR2hgmJiqXaZtY3ST-4j_NHUyh6YQvcLos: Connection refused
Domain: www.irontonfurnaces.com
Type: connection
Detail: 76.137.25.32: Fetching http://www.irontonfurnaces.com/.well-known/acme-challenge/P_g9X2R_SoZMo-s7a-v8iHxfaxHxZKM_WuDFq-ykraI: Connection refused
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.
Cleaning up challenges
Failed to renew certificate dombird.org with error: Some challenges have failed.
All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/dombird.org/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/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
Server version: Apache/2.4.63 (Ubuntu)
Server built: 2025-07-14T15:12:31
The operating system my web server runs on is (include version):
Linux asterisk 6.12.15-production+truenas #1 SMP PREEMPT_DYNAMIC Mon Sep 8 18:50:34 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
My hosting provider, if applicable, is:
self
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 2.11.0