I am trying to generate certificate wildcard certificates on a Linux(Ubuntu 18.04 LTS) VM. I have been able to generate the certificates in the past. They are coming up for renewal in a couple of days. Following is the command I ran and the output I got;
*$ sudo certbot certonly --manual -d .drcloudemr.com -d drcloudemr.com --agree-tos --email cs.ops@drcloudemr.com --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory
Use of --manual-public-ip-logging-ok is deprecated.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
*Requesting a certificate for .drcloudemr.com and drcloudemr.com
Performing the following challenges:
dns-01 challenge for drcloudemr.com
dns-01 challenge for drcloudemr.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.drcloudemr.com with the following value:
-KquIRQbLMTZd_-aQXKoa8c9EHnMJtRhuw0hw7YzwkU
Before continuing, verify the record is deployed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.drcloudemr.com with the following value:
k9r-YW2GNVuynAEZB00i1GOGelrmo07HcRTs4dORahM
Before continuing, verify the record is deployed.
(This must be set up in addition to the previous challenges; do not remove,
replace, or undo the previous challenge tasks yet. Note that you might be
asked to create multiple distinct TXT records with the same name. This is
permitted by DNS standards.)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
Waiting for verification...
Challenge failed for domain drcloudemr.com
Challenge failed for domain drcloudemr.com
dns-01 challenge for drcloudemr.comstrong text
dns-01 challenge for drcloudemr.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
- The following errors were reported by the server:*
-
Domain: drcloudemr.com*
-
Type: unauthorized*
-
Detail: Incorrect TXT record*
-
"gER4iVEWxBf938iBgMhNhExGvXdI_OtfJaoAX41u_nw" (and 19 more) found*
-
at _acme-challenge.drcloudemr.com*
-
Domain: drcloudemr.com*
-
Type: unauthorized*
-
Detail: Incorrect TXT record*
-
"fn6xGzNYHRCjf1nGu025RJNYLXTRyil3x553xrj18WE" (and 19 more) found*
-
at _acme-challenge.drcloudemr.com*
-
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.*
I followed the instructions and updated the TXT records onto my DNS provider(PowWeb).
When I ran "nslookup -q=txt _acme-challenge.drcloudemr.com", it returned about 20 records,. I'm not sure why there are so many entries and which one's are really needed. I don't see those records on my DNS.
I am wondering if the cause for failure is that there are so many entries. If that is indeed the case, is there a way to delete unused/old entries ? How can I get around this error and generate/renew certificates ? Please advise.
Thanks,
Ram Reddy