Getting 404 unauthorized error during generating Cert

My domain is:

I ran this command:
sudo certbot certonly --email
--agree-tos --manual

It produced this output:
Press Enter to Continue
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: 2620:1ec:bdf::38: Invalid response from 404


Did you remove an AAAA record from your DNS since that request?
Because the error message stated an IPv6 address but I no longer see an AAAA record

Would you try that again and show the new results?


I can still reach the IPv6 address, but there's something weird going on. Sometimes 2620:1ec:bdf::67 responds with a "404 file not found" with, among others, a x-azure-ref and X-Cache HTTP header, but sometimes it responds with a "400 bad request" status with a X-MSEdge-Ref HTTP header and not the other two?

Same goes for IPv4 by the way..

So my advice is: please first fix your webserver and only then try to get a certificate.


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