Score:0

No TXT record found at _acme-challenge for nginx server

vn flag

I am trying to add a wildcard domain with certbot to nginx server, run the following commands

 sudo certbot --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns  --installer nginx -d photoss.co.in -d *.photoss.co.in

I got the message

 Please deploy a DNS TXT record under the name
_acme-challenge.photoss.co.in with the following `value:tXKNeJ2OIWdsDa3Lxnj5fSVXqX5u4ko38ceHd6Pbs`

so I entered a txt record on go daddy name server with the above value, when continuing on terminal one more similar message came, so I entered one more txt record without deleting or editing the previous record, but when continuing getting the following error

waiting for verification...
Challenge failed for domain photoss.co.in
Challenge failed for domain photoss.co.in
dns-01 challenge for photoss.co.in
dns-01 challenge for photoss.co.in
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: photoss.co.in
   Type:   unauthorized
   Detail: No TXT record found at _acme-challenge.photoss.co.in

   Domain: photoss.co.in
   Type:   unauthorized
   Detail: No TXT record found at _acme-challenge.photoss.co.in

   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.
Steffen Ullrich avatar
se flag
There is currently no such TXT record, so you probably did something wrong when adding the record. *"... so I entered a txt record on go daddy name server with the above value ... "* - Impossible to tell what exactly you did in all detail and thus impossible to tell what went wrong when doing this.
Score:0
cn flag

When using the DNS-01 challenge, you have to delete the old record, because you cannot have two records with the same hostname and pass the test.

If you fail the test and know you have the record correct, you should set the lowest TTL your DNS server will permit.

This is based only on my own experience of never passing the test without deleting the old record and never passing the test within the TTL of the first test.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.