Google has seen this beforeDuring secondary validation: DNS problem: SERVFAIL looking up A for www.dersalilacxxxxx.com - the domain's nameservers may be malfunctioning, url:
Certificate generation failed.
What did the error tell ?I am having the same issue. With many domains. A record exists but LE can not verify it. Any more idea?
I am having to error at https://letsdebug.net/
2021/02/08 18:34:49 [INFO] [mail.aysegulkose.com] acme: Obtaining SAN certificate
2021/02/08 18:34:49 [INFO] [mail.aysegulkose.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/10705361921
2021/02/08 18:34:49 [INFO] [mail.aysegulkose.com] acme: Could not find solver for: tls-alpn-01
2021/02/08 18:34:49 [INFO] [mail.aysegulkose.com] acme: use http-01 solver
2021/02/08 18:34:49 [INFO] [mail.aysegulkose.com] acme: Trying to solve HTTP-01
2021/02/08 18:35:42 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/10705361921
2021/02/08 18:35:43 [INFO] Unable to deactivate the authorization: https://acme-v02.api.letsencrypt.org/acme/authz-v3/10705361921
2021/02/08 18:35:43 Could not obtain certificates:
error: one or more domains had a problem:
[mail.aysegulkose.com] acme: error: 400 :: urn:ietfarams:acme:error:dns :: During secondary validation: DNS problem: SERVFAIL looking up A for mail.aysegulkose.com - the domain's nameservers may be malfunctioning, url:
Certificate generation failed.
This is error:
But no error on debug:
Test result for mail.aysegulkose.com: Warning
1 unique issue(s) detected (InternalProblem)letsdebug.net
It in the error..DNS problem: SERVFAIL looking up A for test2.akademiapomyslow.pl - the domain's nameservers may be malfunctioning
DNS servers responded | ERROR: One or more of your nameservers did not respond: The ones that did not respond are: 108.162.193.160 108.162.192.238 |
Missing nameservers reported by your nameservers | ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are: vita.ns.cloudflare.com drew.ns.cloudflare.com This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example). |
At first I thought it had to do with IPv6 and/or the firewall. So I turned off the firewall (CSF) en removed all IPv6 adresses in the DNS, but this didn't solve anything.Found wildcard domain name and http challenge type, switching to dns-01 validation.
2021/02/28 01:02:11 [INFO] [*.somedomain.com, somedomain.com] acme: Obtaining SAN certificate
2021/02/28 01:02:12 [INFO] [*.somedomain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11195633723
2021/02/28 01:02:12 [INFO] [somedomain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11195633725
2021/02/28 01:02:12 [INFO] [*.somedomain.com] acme: use dns-01 solver
2021/02/28 01:02:12 [INFO] [somedomain.com] acme: Could not find solver for: tls-alpn-01
2021/02/28 01:02:12 [INFO] [somedomain.com] acme: Could not find solver for: http-01
2021/02/28 01:02:12 [INFO] [somedomain.com] acme: use dns-01 solver
2021/02/28 01:02:12 [INFO] [*.somedomain.com] acme: Preparing to solve DNS-01
2021/02/28 01:02:15 [INFO] [*.somedomain.com] acme: Trying to solve DNS-01
2021/02/28 01:02:15 [INFO] [*.somedomain.com] acme: Checking DNS record propagation using [[2001:4860:4860::8888]:53]
2021/02/28 01:02:20 [INFO] Wait for propagation [timeout: 5m0s, interval: 5s]
2021/02/28 01:02:20 [INFO] [*.somedomain.com] acme: Waiting for DNS record propagation.
... this repeats about 60 times during 5 minutes
2021/02/28 01:07:17 [INFO] [*.somedomain.com] acme: Waiting for DNS record propagation.
2021/02/28 01:07:22 [INFO] [*.somedomain.com] acme: Cleaning DNS-01 challenge
2021/02/28 01:07:24 [INFO] [somedomain.com] acme: Preparing to solve DNS-01
2021/02/28 01:07:27 [INFO] [somedomain.com] acme: Trying to solve DNS-01
2021/02/28 01:07:27 [INFO] [somedomain.com] acme: Checking DNS record propagation using [[2001:4860:4860::8888]:53]
2021/02/28 01:07:32 [INFO] Wait for propagation [timeout: 5m0s, interval: 5s]
2021/02/28 01:07:32 [INFO] [somedomain.com] acme: Waiting for DNS record propagation.
... this also repeats about 60 times during 5 minutes
2021/02/28 01:12:32 [INFO] [somedomain.com] acme: Waiting for DNS record propagation.
2021/02/28 01:12:37 [INFO] [somedomain.com] acme: Cleaning DNS-01 challenge
2021/02/28 01:12:41 [INFO] retry due to: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11195633723 :: urn:ietfarams:acme:error:badNonce :: JWS has an invalid anti-replay nonce: "0003cfNy0jw2JbVgaA575mQQC-u1ooj2eM-bFfSltdAU51w", url:
2021/02/28 01:12:41 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11195633723
2021/02/28 01:12:42 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11195633725
2021/02/28 01:12:42 Could not obtain certificates:
error: one or more domains had a problem:
[*.somedomain.com] time limit exceeded: last error: read udp [2a01:7c8:d003:2a::44]:45781->[2a01:7c8:d003:2a::44]:53: read: connection refused
[somedomain.com] time limit exceeded: last error: read udp [2a01:7c8:d003:2a::44]:54796->[2a01:7c8:d003:2a::44]:53: read: connection refused
Certificate generation failed.
The updates on my servers were a little out of date due to circumstances, I was running version 2.0.10 a little longer when the problem started. But updating to 2.0.12 didn't solve the problem. I have my doubts if this is related to DirectAdmin (or better: the Let's Encrypt script) or Let's Encrypt. Because only few reports about this problem van be found on Google, I'm inclined to think that the problem is with DirectAdmin/the script.Here as well.
Current version
#VERSION=2.0.12
I believe this error was thrown with the version before VERSION=2.0.12
Error. File /usr/local/directadmin/plugins/custombuild/logs/1614462061.145436.log does not exist.
2021/03/03 00:37:39 [INFO] [somedomain.nl] acme: Checking DNS record propagation using [[2001:4860:4860::8888]:53]
2021/03/03 00:37:44 [INFO] Wait for propagation [timeout: 5m0s, interval: 5s]
2021/03/03 00:37:44 [INFO] [somedomain.nl] acme: Waiting for DNS record propagation.
2021/03/03 00:37:49 [INFO] [somedomain.nl] acme: Waiting for DNS record propagation.
...
2021/03/03 00:42:39 [INFO] [somedomain.nl] acme: Waiting for DNS record propagation.
2021/03/03 00:42:44 [INFO] [somedomain.nl] acme: Waiting for DNS record propagation.
2021/03/03 00:42:49 [INFO] [somedomain.nl] acme: Cleaning DNS-01 challenge
2021/03/03 00:42:54 [INFO] retry due to: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11268508361 :: urn:ietfarams:acme:error:badNonce :: JWS has an invalid anti-replay nonce: "0103nB9vpYuUecgL98ABImShQZ4RfU4E5o3MmYiFXbcooXs", url:
2021/03/03 00:42:54 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11268508361
2021/03/03 00:42:54 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/11268508362
2021/03/03 00:42:54 Could not obtain certificates:
error: one or more domains had a problem:
[*.somedomain.nl] time limit exceeded: last error: read udp [2a01:7c8:d003:28:5054:ff:fe07:b8af]:35635->[2a01:7c8:d003:2a::44]:53: read: connection refused
[somedomain.nl] time limit exceeded: last error: read udp [2a01:7c8:d003:28:5054:ff:fe07:b8af]:60758->[2a01:7c8:d003:2a::44]:53: read: connection refused
Certificate generation failed.