Saturday, September 19, 2020

Lets encrypt : DNS problem: NXDOMAIN looking up TXT for _acme-challenge

 

I ran this command:~$

sudo certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'ccvitaal.nl,*.ccvitaal.nl'

Waiting for verification…

Cleaning up challenges

Failed authorization procedure. ccvitaal.nl (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.ccvitaal.nl

IMPORTANT NOTES:

The following errors were reported by the server:

Domain: ccvitaal.nl

Type: None

Detail: DNS problem: NXDOMAIN looking up TXT for

_acme-challenge.ccvitaal.nl

this is because the TXT records are not added with right key

You are adding those txt records to subdomain _acme-challenge.ccvitaal.nl but you should add them to subdomain _acme-challenge. Using below command should give you the last added txt records: dig _acme-challenge.ccvitaal.nl txt Right now…

references:

https://community.letsencrypt.org/t/solved-dns-problem-nxdomain-looking-up-txt-for-acme-challenge/70102


No comments:

Post a Comment