I updated the _acme-challenge.boxrec.com txt record as instructed. Did a dig to check DNS had been updated OK, it had, then hit enter to finish but certbot fetched the old DNS txt field. Now I am stuck in a loop, each time I try to update it generates a new TXT which I have to update DNS so I am always out of sync. How do I sync cerbot with the current DNS record ?
dig -t txt _acme-challenge.boxrec.com
; <<>> DiG 9.11.4-3ubuntu5.1-Ubuntu <<>> -t txt _acme-challenge.boxrec.com
_acme-challenge.boxrec.com. 7199 IN TXT “gbbnVKTxt6jO836LWS6oP1wuaxGY21lqdTihZA6RbF8”
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. https://crt.sh/?q=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: boxrec.com
I ran this command:
certbot certonly --manual -d *.boxrec.com --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for boxrec.com
NOTE: The IP of this machine will be publicly logged as having requested this
certificate. If you’re running certbot in manual mode on a machine that is not
your server, please ensure you’re okay with that.
Are you OK with your IP being logged?
(Y)es/(N)o: Y
Please deploy a DNS TXT record under the name
_acme-challenge.boxrec.com with the following value:
gbbnVKTxt6jO836LWS6oP1wuaxGY21lqdTihZA6RbF8
Before continuing, verify the record is deployed.
Press Enter to Continue
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. boxrec.com (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “mtySdhCDKAywfmW6vqxbfrGiJU3WPKaIoORAv-GLY3Y” found at _acme-challenge.boxrec.com
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: boxrec.com
Type: unauthorized
Detail: Incorrect TXT record
“mtySdhCDKAywfmW6vqxbfrGiJU3WPKaIoORAv-GLY3Y” found at
_acme-challenge.boxrec.comTo 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.
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):
2.8