I was trying to setup lets encrypt for hass.io but I am getting the error of ERROR: Challenge is invalid!
here are my logs for duck DNS
INFO: Using main config file /data/workdir/config
Generating account key…
Registering account key with ACME server…
Done!
Fri Jun 15 20:54:58 EDT 2018: KO
INFO: Using main config file /data/workdir/config
Creating chain cache directory /data/workdir/chains
Processing 5920homeassist.duckdns.org
Creating new directory /data/letsencrypt/5920homeassist.duckdns.org …
Signing domains…
Generating private key…
Generating signing request…
Requesting new certificate order from CA…
Received 1 authorizations URLs from the CA
Handling authorization for 5920homeassist.duckdns.org
1 pending challenge(s)
Deploying challenge tokens…
KO + Responding to challenge for 5920homeassist.duckdns.org authorization…
Cleaning challenge tokens…
KO + Challenge validation has failed
ERROR: Challenge is invalid! (returned: invalid) (result: {
“type”: “dns-01”,
“status”: “invalid”,
“error”: {
“type”: “urn:ietf:params:acme:error:dns”,
“detail”: “DNS problem: NXDOMAIN looking up TXT for _acme-challenge.5920homeassist.duckdns.org”,
“status”: 400
},
“url”: “https://acme-v02.api.letsencrypt.org/acme/challenge/JbgzT9igftj-qIzU4wYki4LgxThLT_D45L_J9d-SJ6M/5138092304”,
“token”: "I think this is suppose to be scret
})
Fri Jun 15 21:00:28 EDT 2018: KO
Fri Jun 15 21:05:29 EDT 2018: KO
Fri Jun 15 21:10:30 EDT 2018: KO
Fri Jun 15 21:15:31 EDT 2018: KO
Fri Jun 15 21:20:31 EDT 2018: KO
Fri Jun 15 21:25:32 EDT 2018: KO
Fri Jun 15 21:30:33 EDT 2018: KO
Fri Jun 15 21:35:34 EDT 2018: KO
Fri Jun 15 21:40:34 EDT 2018: KO
and here is my configuration of Duck DNS
{
“lets_encrypt”: {
“accept_terms”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
},
“token”: “I think this is improtant”,
“domains”: [
“5920homeassist.duckdns.org”
],
“seconds”: 300
}