My domain is: insee.sanger.ac.uk
I ran this command: dehydrated -c -x
It produced this output:
- Responding to challenge for insee.sanger.ac.uk authorization…
- ERROR: An error occurred while sending post-request to https://acme-staging-v02.api.letsencrypt.org/acme/challenge/5jY4YYWmTOkHpuwECsJpm0BRzSSophv__fd9-AWAXBg/147168375 (Status 400)
Details:
HTTP/1.0 200 Connection established
HTTP/1.1 100 Continue
Expires: Wed, 11 Jul 2018 15:58:20 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
HTTP/1.1 400 Bad Request
Server: nginx
Content-Type: application/problem+json
Content-Length: 169
Boulder-Requester: 6437202
Replay-Nonce: Wk4kKi6k9_G2wPiyUxT9VM4ght0O8PBdNYaF_p0p1t8
Expires: Wed, 11 Jul 2018 15:58:20 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 11 Jul 2018 15:58:20 GMT
Connection: close
{
“type”: “urn:ietf:params:acme:error:badNonce”,
“detail”: "JWS has an invalid anti-replay nonce: “n6hlVrPXGmkIxODJD3Heu2BKeAEwieVhdC6UUacoeE4"”,
“status”: 400
}
My web server is (include version): civetweb (from ceph), but this is the DNS-validation protocol
The operating system my web server runs on is (include version): Ubuntu 16.04
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
Hi,
I’m using the DNS-challenge based approach, and I think this is a problem because I’m behind NAT (with many different IP addresses) - I see @jsha saying here that this can be an issue. Is there a workaround for where my client is behind NAT? Even retrying repeatedly doesn’t help, and if I do the same from my workstation rather than the server, then I’m always NATed to the same address and don’t see this problem. But for production, we want to run the dehydrated client on the production machines, which are behind multi-IP NAT; this is unlikely to be a very unusual config, so I’m bit surprised that letsencypt has a problem with it…
Thanks,
Matthew