The Certificate Authority failed to download the challenge files

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. crt.sh | 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:cgyoung.ddns.net

I ran this command: certbot certonly --standalone -v

It produced this output: Saving debug log to C:\Certbot\log\letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): cgyoung.ddns.net
Requesting a certificate for cgyoung.ddns.net
Performing the following challenges:
http-01 challenge for cgyoung.ddns.net
Waiting for verification...
Challenge failed for domain cgyoung.ddns.net
http-01 challenge for cgyoung.ddns.net

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: cgyoung.ddns.net
Type: connection
Detail: 76.184.65.216: Fetching http://cgyoung.ddns.net/.well-known/acme-challenge/kHUHqaWFrUbNcAog2swdKKZ923tXuZ4Wq6BBNMESA1k: Timeout during connect (likely firewall problem)

Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.

Cleaning up challenges
Some challenges have failed.

My web server is (include version): Apache 2.4

The operating system my web server runs on is (include version): Windows 11

My hosting provider, if applicable, is:Netgear RS280 router connected to Spectrum modem

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.2.0

It's likely a firewall (or your ISP) blocking TCP port 80 incoming.

Certbot isn't supported on windows anymore btw, but that's not the cause of this issue.

2 Likes

Looks like you fixed your firewall / timeout problem.

You really shouldn't be using Certbot on Windows anymore. Especially not for a new setup. And, if you insist you shouldn't be using --standalone method with Apache. The --standalone option needs exclusive use of port 80 but you have Apache using that port. Certbot usually won't issue a warning about this problem (on Windows). The cert request will just fail.

You should switch to an ACME Client that supports Windows. See: Certbot Discontinuing Windows Beta Support in 2024

Good options for a stand-alone ACME Client are:

Certify the Web (gui) https://certifytheweb.com/
posh-acme (powershell) Home - Posh-ACME
simple-acme (command line) https://simple-acme.com/

Given you are using Apache another option is its mod_md feature. This is an ACME Client built-in to Apache. If you are reasonably skilled at Apache admin this might be the easiest.

The Apache docs are a good reference and install overview: mod_md - Apache HTTP Server Version 2.4

The github for mod_md has very good examples: GitHub - icing/mod_md: Let's Encrypt (ACME) in Apache httpd

4 Likes

Thanks MikeMcQ for all this nice information. I actually got CertBot to work by disabling my Firewall temporarily and got my Certificates created. I will look at certifytheweb when CertBot finally quits working when trying to renew the certificate.

4 Likes