Hi All,
This morning when I tried to renew my domain's certificate I got the following error:
ERROR: Challenge is invalid! (returned: invalid) (result: ["type"] "dns-01"
My domain is:
dwarfish.duckdns.org
I ran this command:
./dehydrated -c
It produced this output:
# INFO: Using main config file /home/pi/dehydrated_0.7.2/config
Unknown hook this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script
Processing dwarfish.duckdns.org
Unknown hook this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Jun 25 06:41:08 2024 GMT (Less than 30 days). Renewing!
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 1 authorizations URLs from the CA
+ Handling authorization for dwarfish.duckdns.org
+ 1 pending challenge(s)
+ Deploying challenge tokens...
OK
+ Responding to challenge for dwarfish.duckdns.org authorization...
Unknown hook invalid_challenge
+ Cleaning challenge tokens...
OK
+ Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: ["type"] "dns-01"
["url"] "https://acme-v02.api.letsencrypt.org/acme/chall-v3/367230212927/gHfjqw"
["status"] "invalid"
["validated"] "2024-06-22T09:14:22Z"
["error","type"] "urn:ietf:params:acme:error:unauthorized"
["error","detail"] "Incorrect TXT record \"\" found at _acme-challenge.dwarfish.duckdns.org"
["error","status"] 403
["error"] {"type":"urn:ietf:params:acme:error:unauthorized","detail":"Incorrect TXT record \"\" found at _acme-challenge.dwarfish.duckdns.org","status":403}
["token"] "zi58bazOHE_lnzHz6OwhvLDKj2R58shZRN73rnOgtpg")
My web server is (include version):
Server version: Apache/2.4.25 (Raspbian)
Server built: 2022-03-18T12:54:25
The operating system my web server runs on is (include version):
debian 9.13
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):
Dehydrated version: 0.7.2
Thanks for the help,
SiMoNe