When attempting to renew a Wildcard cert for a domain, I am getting the error below. DNS is hosted with Namecheap - I can modify, add, delete, etc. other records for this domain without issue from within Virtualmin, so the API seems to be working. What would be blocking the TXT record specifically from being created, or is there another potential issue I am missing?
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for aiskon.net and *.aiskon.net
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: aiskon.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.aiskon.net - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the DNS TXT records created by the --manual-auth-hook. Ensure that this hook is functioning correctly and that it waits a sufficient duration of time for DNS propagation. Refer to "certbot --help manual" and the Certbot User Guide.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Attempted a reset of all records to be sure, and got the following:
Resetting DNS for domain ..
.. skipping warning : DNS records will be lost : food (A), truenas (A), truenas (AAAA)
Deleting and re-creating standard DNS records ..
.. failed to update DNS records : Failed to update DNS records : API command failed : Requested value 'UNKNOWN' was not found.
.. done
Thank you. Patch is applied, but still getting the same error.
What I am noticing is that any time I work with DNS using Namecheap for the root domain only, I am getting the following error:
Resetting DNS for domain ..
Deleting and re-creating standard DNS records ..
.. failed to update DNS records : Failed to update DNS records : API command failed : Requested value 'UNKNOWN' was not found.
.. done
The changes seem to still go through, but not right away.
If I make any edits for the sub-domains, I do not get an error.
Unfortunately, this is back now for another domain on the same server.
Both domains are on the same server. Both use Namecheap API for DNS. In the case of the second domain, I’ve verified the API is working, and I can create TXT records in Virtualmin that show up on Namecheap’s end.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for aiskondns.net and *.aiskondns.net
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: aiskondns.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.aiskondns.net - check that a DNS record exists for this domain
Domain: aiskondns.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.aiskondns.net - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the DNS TXT records created by the --manual-auth-hook. Ensure that this hook is functioning correctly and that it waits a sufficient duration of time for DNS propagation. Refer to "certbot --help manual" and the Certbot User Guide.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Tried the individual domains, instead of the Wildcard:
Edit: Mistake on my end, this works now. The non-wildcard cert is in place, mitigating any urgency - I’d still like to work out why the wildcard challenge is failing.
The UNKNOWN error appears resolved, but I’m still unable to request a Wildcard cert using Let’s Encrypt after updating to 2.680:
Request Certificate
In domain aiskondns.net
Validating configuration for aiskondns.net ..
.. no problems found
Requesting a certificate for aiskondns.net, *.aiskondns.net from Let's Encrypt ..
.. request failed : DNS-based validation failed :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for aiskondns.net and *.aiskondns.net
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: aiskondns.net
Type: unauthorized
Detail: No TXT record found at _acme-challenge.aiskondns.net
Hint: The Certificate Authority failed to verify the DNS TXT records created by the --manual-auth-hook. Ensure that this hook is functioning correctly and that it waits a sufficient duration of time for DNS propagation. Refer to "certbot --help manual" and the Certbot User Guide.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
When I manually make TXT records, they go through without issue, so it appears to only be an issue when using certbot.