Keep getting "Some Challenges Failed"

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:
nextsong.tv
www.nextsong.tv

I ran this command:
sudo certbot --apache

It produced this output:
Requesting a certificate for nextsong.tv and www.nextsong.tv

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: www.nextsong.tv
Type: unauthorized
Detail: 3.33.152.147: Invalid response from http://www.nextsong.tv/.well-known/acme-challenge/3nN7cPJT0KUH8Oo0ZKWxOfHES0eetmDUFL47OZjiIrs: 403

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.

My web server is (include version):
Apache/2.4.59 (Amazon Linux)

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

My hosting provider, if applicable, is:
EC2 Instance

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

My domain is registered at GoDaddy. I edited the DNS section and added an A record, @, 54.215.236.227 with 600 seconds TTL.

Your DNS has 3 IP. Two of which point to AWS Global Accelerator. GoDaddy uses this in their Domain Forwarding and Parking features.

Your new IP is fine but you need to remove these other two. See the below thread with an identical problem to yours. Either remove "Domain Forwarding" feature or the "Parked" entry in your DNS panel.

dig +noall +answer A www.nextsong.tv
www.nextsong.tv.        84      IN      CNAME   nextsong.tv.
nextsong.tv.            84      IN      A       3.33.152.147
nextsong.tv.            84      IN      A       54.215.236.227
nextsong.tv.            84      IN      A       15.197.142.173

4 Likes

Great catch! I had forwarding set up when I was (even more) clueless. Removing that helped.

3 Likes