Need help with "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: zacharyguerrero.com

I ran this command: certbot --apache

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: zacharyguerrero.com
2: www.zacharyguerrero.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 
Requesting a certificate for zacharyguerrero.com and www.zacharyguerrero.com

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
  Domain: www.zacharyguerrero.com
  Type:   unauthorized
  Detail: 2606:4700:3033::6815:14e9: Invalid response from http://www.zacharyguerrero.com/.well-known/acme-challenge/jgEMhIA-stMW3YYul-YTQIL7xTd_OKewcp03C5lAuok: 404

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): Ubuntu 24:04

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

My hosting provider, if applicable, is: Digital Ocean

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): 1.21.0


I have already done letsdebug and found no issues
Unboundtest results:

Query results for AAAA zacharyguerrero.com

Response:
;; opcode: QUERY, status: NOERROR, id: 36904
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version 0; flags: do; udp: 1232

;; QUESTION SECTION:
;zacharyguerrero.com.	IN	 AAAA

;; AUTHORITY SECTION:
zacharyguerrero.com.	0	IN	SOA	abby.ns.cloudflare.com. dns.cloudflare.com. 2363235716 10000 2400 604800 1800

and no AAAA Records found, but letsencrypt is still saying that that's where the issue lies.

Can I get some help here please.

After looking at this, I figured out my problem. I didnt have the cname for www pointing to the right place. All fixed.

4 Likes

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