Challenge is failing

I've created A and AAAA record at aws,
(and can access the domain from home)
but somehow something goes wrong with 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: song-note-writers.com

I ran this command: sudo certbot --apache -v

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): song-note-writers.com
Requesting a certificate for song-note-writers.com
Performing the following challenges:
http-01 challenge for song-note-writers.com
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain song-note-writers.com
http-01 challenge for song-note-writers.com

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: song-note-writers.com
Type: dns
Detail: no valid A records found for song-note-writers.com; no valid AAAA records found for song-note-writers.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.

Cleaning up challenges
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):
Server version: Apache/2.4.52 (Ubuntu)
Server built: 2024-01-17T03:00:18

The operating system my web server runs on is (include version):
Linux zeske 6.5.0-1016-aws #16~22.04.1-Ubuntu SMP Wed Mar 13 18:54:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

My hosting provider, if applicable, is:

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

Your domain has nameservers of two different companies configured:

The .com nameservers have nameservers from AWS as well as DNSimple configured for your domain; while AWS responds with an IP address, the DNSimple nameservers do not.

What's the correct company you have your DNS hosted with? Or do you want to "round robin" your DNS by both companies? In that case you should probably keep them identical and add the correct IP address to the DNSimple zone.

On DNSViz it's nicely visualised: song-note-writers.com | DNSViz. You can see 2 different A RR results from both companies (and also 2 different results for AAAA/TXT/SOA/MX/NS..).

6 Likes

Hey @Osiris: thanks a bunch!!!

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.