I recenlty tried to renew my certificate but it didn’t work.
(I cannot put the real domain name for security sorry)
I got this error :
Domain: <MyWebSite>
Type: unauthorized
Detail: Invalid response from
https://<MyWebSite>/.well-known/acme-challenge/0ow6BqlDpWQKEP8gOgf1UCnf2j8qGpRaybPNP7l0CJ0/
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
I already search a lot on internet, and people said to try to curl a test file and it’s working
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:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
This is likely your problem; if you host has both A and AAAA records, LE will try to connect with IPv6. But also, when testing the challenge file, you should be testing it with a HTTP connection, not HTTPS.