Error when creating SSL for domain :: JWS has an invalid anti-replay nonce

I have tried to generate a certificate several times but I cannot.
Does anyone have this problem before? or someone who can help me?

Thank you for your help

**Error message** : 

Found wildcard domain name and http challenge type, switching to dns-01 validation.
2020/12/31 10:23:02 [INFO] [*.sunudecath.com] acme: Obtaining SAN certificate
2020/12/31 10:23:03 [INFO] [*.sunudecath.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/9712867913
2020/12/31 10:23:03 [INFO] [*.sunudecath.com] acme: use dns-01 solver
2020/12/31 10:23:03 [INFO] [*.sunudecath.com] acme: Preparing to solve DNS-01
2020/12/31 10:23:03 [INFO] [*.sunudecath.com] acme: Trying to solve DNS-01
2020/12/31 10:23:03 [INFO] [*.sunudecath.com] acme: Checking DNS record propagation using [8.8.8.8:53]
2020/12/31 10:23:08 [INFO] Wait for propagation [timeout: 5m0s, interval: 5s]
2020/12/31 10:23:08 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:13 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:18 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:23 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:28 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:33 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:38 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:44 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:49 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:54 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:23:59 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:04 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:09 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:14 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:19 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:24 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:29 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:34 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:39 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:44 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:49 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:54 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:24:59 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:04 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:09 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:14 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:19 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:24 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:29 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:34 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:39 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:44 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:49 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:54 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:25:59 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:04 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:09 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:14 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:19 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:24 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:29 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:34 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:39 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:44 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:50 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:26:55 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:00 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:05 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:10 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:15 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:20 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:25 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:30 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:35 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:40 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:45 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:50 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:27:55 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:28:00 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:28:05 [INFO] [*.sunudecath.com] acme: Waiting for DNS record propagation.
2020/12/31 10:28:10 [INFO] [*.sunudecath.com] acme: Cleaning DNS-01 challenge
2020/12/31 10:28:10 [INFO] retry due to: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/authz-v3/9712867913 :: urn:ietf:params:acme:error:badNonce :: JWS has an invalid anti-replay nonce: "0104e1oGyjjLtUYHHISode-XmCZcoshWtOQRz_Aag06PgcU", url: 
2020/12/31 10:28:11 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/9712867913
2020/12/31 10:28:11 Could not obtain certificates:
	error: one or more domains had a problem:
[*.sunudecath.com] time limit exceeded: last error: NS ns112.ovh.net. returned NXDOMAIN for _acme-challenge.sunudecath.com.
Certificate generation failed.
1 Like

Hello,

problem resolved !
It was because of subdomain redirection and not for domain.

Thanks

3 Likes