The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot

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: frame-shutter.com

I ran this command: sudo certbot --apache

It produced this output:
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:

Domain: fshutter.com

Type: dns

Detail: DNS problem: NXDOMAIN looking up A for fshutter.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for fshutter.com - check that a DNS record exists for this domain

Domain: www.frame-shutter.com

Type: dns

Detail: no valid A records found for www.frame-shutter.com; no valid AAAA records found for www.frame-shutter.com

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

The operating system my web server runs on is (include version): Ubuntu 24.04.1

My hosting provider, if applicable, is: NA

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 --classic

Did you buy the name fshutter.com ? Or just frame-shutter.com ?

3 Likes

fshutter.com was automatically detected from the system which was the name of my data base I created, then the frame-shutter.com is the domain that I bought.

What shows?:
sudo apachectl -t -D DUMP_VHOSTS

3 Likes

Oh, sorry, right now I'm away from home and can't access my server thru SSH because it was accidentally turned off. I will provide the answer once I get home later.

2 Likes

Sounds like you used that name rather than your purchased name in the Apache VirtualHost ServerName (and/or ServerAlias). You will need a VirtualHost for the name you purchased.

3 Likes

I included the ServerAlias (www.frame-shutter.com) in VirtualHost .conf file. Or you mean I need to change it to frame-shutter from fshutter?

I think we'll need to see the output of the command @rg305 described :slight_smile:

3 Likes