Error in renewal even with matching txt DNS records

Hello,
Trying to renew a wildcard certificate as I have done repeatedly in the past by updating a DNS TXT Record. Looking at the logs it shows the requested string as well as the results of the attempt. But the failure message shows the correct txt string:

(Update DNS Manually) :: Please login to your DNS control panel for the domain ‘*.isemanhomes.com’ and create a new TXT record named:
_acme-challenge.isemanhomes.com
with the value:
pONQOJ3DzxMttDTlo5b5_hcnZ4FWsNbpGRxPNGJUGfA

2020-12-12 11:20:21.027 -08:00 [INF]
2020-12-12 11:32:32.373 -08:00 [INF] ---- Beginning Request [*.isemanhomes.com] ----
2020-12-12 11:32:32.381 -08:00 [INF] BeginCertificateOrder: creating/retrieving order. Retries remaining:2
2020-12-12 11:32:32.381 -08:00 [INF] Created ACME Order: REDACTED://acme-v02.api.letsencrypt.org/acme/order/48994129/6705864671
2020-12-12 11:32:32.647 -08:00 [INF] Fetching Authorizations.
2020-12-12 11:32:33.128 -08:00 [INF] Got http-01 challenge REDACTED://acme-v02.api.letsencrypt.org/acme/chall-v3/9257938435/6oScWQ
2020-12-12 11:32:33.306 -08:00 [INF] Got dns-01 challenge REDACTED://acme-v02.api.letsencrypt.org/acme/chall-v3/9257938435/LKCIBA
2020-12-12 11:32:33.757 -08:00 [INF] Got dns-01 challenge REDACTED://acme-v02.api.letsencrypt.org/acme/chall-v3/9258091835/M8C2xQ
2020-12-12 11:32:33.757 -08:00 [INF] Attempting Challenge Response Validation for Domain: *.isemanhomes.com
2020-12-12 11:32:33.758 -08:00 [INF] Registering and Validating *.isemanhomes.com
2020-12-12 11:32:33.758 -08:00 [INF] Checking automated challenge response for Domain: *.isemanhomes.com
2020-12-12 11:32:33.903 -08:00 [WRN] Challenge response validation still pending. Re-checking [10]…
2020-12-12 11:32:35.611 -08:00 [INF] Domain validation completed: *.isemanhomes.com
2020-12-12 11:32:35.611 -08:00 [INF] Attempting Challenge Response Validation for Domain: isemanhomes.com
2020-12-12 11:32:35.611 -08:00 [INF] Registering and Validating isemanhomes.com
2020-12-12 11:32:35.612 -08:00 [INF] Checking automated challenge response for Domain: isemanhomes.com
2020-12-12 11:32:35.766 -08:00 [WRN] Challenge response validation still pending. Re-checking [10]…
2020-12-12 11:32:37.355 -08:00 [INF] Incorrect TXT record “pONQOJ3DzxMttDTlo5b5_hcnZ4FWsNbpGRxPNGJUGfA” found at _acme-challenge.isemanhomes.com
2020-12-12 11:32:38.480 -08:00 [INF] Validation of the required challenges did not complete successfully. Incorrect TXT record “pONQOJ3DzxMttDTlo5b5_hcnZ4FWsNbpGRxPNGJUGfA” found at _acme-challenge.isemanhomes.com

Now I am seeing I only have two more attempts allowed but if the record matches what recourse do I have?

Also, I no longer see any new strings that may have changed to confirm the current txt record values. I did update to the latest version today. Does anyone have a similar issue?

Hi, sorry for the delayed reply. Your validation is most likely failing because you are trying to validate both *.isemanhomes.com and isemanhomes.com, due to the way Let’s Encrypt validation works this requires updating the same TXT record with 2 different values. Some DNS control panels allow this, others don’t. One option is to let one validation pass then get the other one to pass over multiple attempts, then because LE cache validation successes you will eventually be able to proceed.

I don’t recommend using the Manual DNS option at all as it requires you to not only remember to renewing your cert but also to remember how to do it and endure the possible failures you can encounter, I’d advise you to try our Rackspace DNS provider and provide feedback if it doesn’t work for you. Alternatively, check out the acme-dns option (https://docs.certifytheweb.com/docs/dns/providers/acme-dns)

Greetings,

I seem to be having a similar problem.

I have a mail server with about 8 domains. I have one primary domain which is set as the primary server.

I have setup CloudDNS as my provider and it creates two entries in the DNS while certifytheweb executes.

However, it fails after that.

This is my first post, therefore I am not sure if we can upload the log file. But if you say so, I can post a dropbox link so you can check the logs.

Interestingly, it worked for the first time, but after that it has failed every single time. It has failed even when I try and press the ‘Request Certificate’ button manually.

The Starting entries are as below :

2021-05-30 19:55:36.735 +05:30 [INF] Certify/5.4.3.0 (Windows; Microsoft Windows NT 10.0.17763.0)
2021-05-30 19:55:36.746 +05:30 [INF] Beginning Certificate Request Process: New Trial WildCard using ACME Provider:Certes
2021-05-30 19:55:36.746 +05:30 [INF] Requested identifiers to include on certificate: mailservices.business;yellowspree.tech;listnbuy.in;yellowspree.in;bnl.travel;vuecam.in;360travels.in;europahealthcare.com;.mailservices.business;.yellowspree.tech;.listnbuy.in;.yellowspree.in;.bnl.travel;.vuecam.in;.360travels.in;.europahealthcare.com
2021-05-30 19:55:36.747 +05:30 [INF] Beginning certificate order for requested domains
2021-05-30 19:55:36.981 +05:30 [INF] BeginCertificateOrder: creating/retrieving order. Retries remaining:2
2021-05-30 19:55:37.474 +05:30 [INF] Created ACME Order: 115839558/10056657482
2021-05-30 19:55:37.564 +05:30 [INF] Fetching Authorizations.
2021-05-30 19:55:38.039 +05:30 [INF] Got dns-01 challenge 13491383079/J1u2dg
2021-05-30 19:55:38.382 +05:30 [INF] Got dns-01 challenge 13491383093/rxdxvQ
2021-05-30 19:55:38.737 +05:30 [INF] Got dns-01 challenge 13491383113/5fX4Ng
2021-05-30 19:55:39.089 +05:30 [INF] Got dns-01 challenge 13491383135/UKdtpw
2021-05-30 19:55:39.438 +05:30 [INF] Got dns-01 challenge 13491383160/MOnC9A
2021-05-30 19:55:39.811 +05:30 [INF] Got dns-01 challenge 13491383173/c4xucQ
2021-05-30 19:55:40.167 +05:30 [INF] Got dns-01 challenge 13491383186/ioY1dA
2021-05-30 19:55:40.447 +05:30 [INF] Got http-01 challenge 13491383190/CxH4kg
2021-05-30 19:55:40.619 +05:30 [INF] Got dns-01 challenge 13491383190/iOKb9g
2021-05-30 19:55:40.908 +05:30 [INF] Got http-01 challenge 13491383196/hryZ6Q
2021-05-30 19:55:41.082 +05:30 [INF] Got dns-01 challenge 13491383196/Lrb0sQ
2021-05-30 19:55:41.350 +05:30 [INF] Got http-01 challenge 13491383202/s8LHzg
2021-05-30 19:55:41.533 +05:30 [INF] Got dns-01 challenge 13491383202/pkRMow
2021-05-30 19:55:41.792 +05:30 [INF] Got http-01 challenge 13491383213/66X2bg
2021-05-30 19:55:41.964 +05:30 [INF] Got dns-01 challenge 13491383213/S8NSJg
2021-05-30 19:55:42.227 +05:30 [INF] Got http-01 challenge 13491383222/0RIkSw
2021-05-30 19:55:42.399 +05:30 [INF] Got dns-01 challenge 13491383222/Oae3bQ
2021-05-30 19:55:42.659 +05:30 [INF] Got http-01 challenge 13491383229/IMfH4w
2021-05-30 19:55:42.831 +05:30 [INF] Got dns-01 challenge 13491383229/-XFvbw
2021-05-30 19:55:43.088 +05:30 [INF] Got http-01 challenge 13491383232/Gpu_Fg
2021-05-30 19:55:43.259 +05:30 [INF] Got dns-01 challenge 13491383232/825TiQ
2021-05-30 19:55:43.537 +05:30 [INF] Got http-01 challenge 13491383234/4tzpIg
2021-05-30 19:55:43.713 +05:30 [INF] Got dns-01 challenge 13491383234/qyyKOQ
2021-05-30 19:55:44.059 +05:30 [INF] Got dns-01 challenge 13565987051/D4lUiA
2021-05-30 19:55:44.059 +05:30 [INF] Attempting Domain Validation: mailservices.business
2021-05-30 19:55:44.060 +05:30 [INF] Registering and Validating mailservices.business
2021-05-30 19:55:44.060 +05:30 [INF] Performing automated challenge responses (mailservices.business)
2021-05-30 19:55:44.063 +05:30 [INF] DNS: Creating TXT Record ‘_acme-challenge.mailservices.business’ with value ‘Hv6GO7Y2KmhrDJj6Yu_4S0GBYaLV43EwXHj3rypHLvM’, in Zone Id ‘’ using API provider ‘Powershell/PoshACME DNS’
2021-05-30 19:55:46.089 +05:30 [INF] DNS: Powershell/PoshACME DNS :: Powershell Task Completed.

The final entries are as below :

2021-05-30 19:57:43.524 +05:30 [INF] Attempting Challenge Response Validation for Domain: mailservices.business
2021-05-30 19:57:43.524 +05:30 [INF] Registering and Validating mailservices.business
2021-05-30 19:57:43.525 +05:30 [INF] Checking automated challenge response for Domain: mailservices.business
2021-05-30 19:57:43.852 +05:30 [WRN] Challenge response validation still pending. Re-checking [10]…
2021-05-30 19:57:45.438 +05:30 [INF] No TXT record found at _acme-challenge.mailservices.business
2021-05-30 19:57:46.121 +05:30 [INF] DNS: Deleting TXT Record ‘_acme-challenge.mailservices.business’, in Zone Id ‘’ using API provider ‘Powershell/PoshACME DNS’
2021-05-30 19:57:48.092 +05:30 [INF] Validation of the required challenges did not complete successfully. No TXT record found at _acme-challenge.mailservices.business
2021-05-30 19:57:48.092 +05:30 [INF] Validation of the required challenges did not complete successfully. No TXT record found at _acme-challenge.mailservices.business
2021-05-30 19:57:48.093 +05:30 [INF] Validation of the required challenges did not complete successfully. No TXT record found at _acme-challenge.mailservices.business

Could you please help

Thank you

Manish Naik

Note: Sorry, I had to remove https://acme-v02.api.letsencrypt.org/acme/chall-v3/ in all the links as it was not allowing me to post as a new user

Hi,

So it looks like most of your domains have already validated (successful validation caches at Let’s Encrypt for 30 days).

When performing DNS validation you need to allow enough propagation time for all of your DNS name servers to know about the updated TXT record. If your name servers are load balanced behind one name they stil lhave to all respond with the same result. The default for CloudDNS is 90 seconds but perhaps that needs to be higher.

During validation you can check your nameservers response using dig -t TXT _acme-challenge.mailservices.business from a linux command line or using online tools. You can also test your DNS response using https://unboundtest.com/

Surround logs with ``` (on a line above and below) to wrap them in code blocks, then it won’t parse any links.

http://www.www.com

Greetings,

Thank you so much for the quick turnaround.

However, it does not validate and go ahead :frowning:

  • I dont understand why it fails if all the domains are validated! But it fails. Do let me know if a dropbox link works for you then I can upload the full log.
  • CloudDNS has the entries in each domains and what is more strange is, the entries do not get deleted because the process fails in between.
  • I have dual domains configured for e.g. mydomain.com and also *.mydomain.com so the ACME tool creates two TXT entries. Even after that it fails !
  • I tried to increase the wait time all the way to 600 seconds also, but it still fails!

Let me know what other information can help you help me and I will upload on dropbox and paste the links here.

Thank you so much again

Manish Naik

Thats a great tip! Will use this nowonwards.

Thank you so much

Manish Naik

Manish,

You can email your full log to support {at} certifytheweb.com. Can you also create a known test record in your domain such as ‘_validation-test’ set to any value like ‘hello world’ and I can check whether I can see it.

I notice you have many domains on one cert, I would recommend avoiding this if you can and have separate certificates, that way you can isolate the failing domain.

Greetings,

Thank you so much for this kind support

I have sent you and email with the reference of this topic with the log files.

I have also created a DNS entry in the domain mailservices.business exactly as you have asked for,
_validation-test.mailservices.business = hello world

Also, just so that you know, it already contains an old record generated by certifytheweb/letsencrypt.
The record is

_acme-challenge.mailservices.business = wCY5zGF3mmRzGB81VyHhCyMtRJs0dHHGqQiL19rNSqc

I am writing this so that you could maybe compare it with the logs.

As for the many domains on the server, we have a mail server and all our group organizations use the same server. For that, we need one outgoing SSL certificate which the mail server SMTP service uses. The other SSL is for the web interfaces like mail.mydomain.com and then admin interface mailadmin.mydomain.com and the mobile web interface like mobile.mydomain.com. These three exist for all the domains. Now if I have separate SSL for each of these domains, it would be difficult for the mailserver to map them automatically because the mail server uses the same website contents but maps different domains as they hit the server. That is why we had to go with SNI for all of them.

Thank you again

Manish Naik

Thanks Manish, I’ll reply to your support ticket. Currently those DNS records are not visible, which suggests this domain is not pointing to the DNS zone you think it is. e.g. dig -t TXT _validation-test.mailservices.business returns nothing (the nameserver is currently dns1.cloudns.net)

Greetings,

So that it would benefit others, in case they are noobs, like I was, I wanted to update this thread.

There was an issue with the DNS. The certifytheweb application was updating the DNS automatically, all right, but the DNS servers were not configured right and they did not respond to the _acme-challenge.mydomain.com request and that is the reason it was failing.

In case anyone is stuck with this issue, please create a manual entry in your DNS like the following, as suggested by webprofusion :
TXT Record
_validation-test.mydomain.com → ‘hello world’

Then visit https://toolbox.googleapps.com/apps/dig/#TXT/
and enter

_validation-test.mydomain.com

press ‘TXT’ button

It should respond back with ‘hello world’

You can also use tools like
dig -t TXT _validation-test.mydomain.com
OR
unboundtest.com
OR
https://dnschecker.org/#TXT/_validation-test.mydomain.com

Hope this helps

Thank you Webprofusion for all the support and guidance.

Manish Naik

1 Like