Hi,
I’ve received the invite to the beta confirming that my domain (granivo.re) was whitelisted.
However, when I run the client, with:
./letsencrypt-auto --agree-dev-preview -d granivo.re --server https://acme-v01.api.letsencrypt.org/directory -vvvvvvv auth
I get the error:
Failed authorization procedure. granivo.re (simpleHttp): unauthorized :: The client lacks sufficient authorization :: Validation payload has improper value for field token
IMPORTANT NOTES:
-
The following ‘unauthorized’ errors were reported by the server:
Domains: granivo.re
Error: The client lacks sufficient authorizationTo fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contains the right IP address.
I’m running the python http server serving the challenge response in another term, as instructed.
relevant parts of the log:
2015-10-27 13:38:26,948:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/acme/authz/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo. args: (), kwargs: {}
2015-10-27 13:38:26,957:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2015-10-27 13:38:27,223:DEBUG:requests.packages.urllib3.connectionpool:“GET /acme/authz/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo HTTP/1.1” 200 1314
2015-10-27 13:38:27,235:DEBUG:root:Received <Response [200]>. Headers: {‘Content-Length’: ‘1314’, ‘Expires’: ‘Tue, 27 Oct 2015 13:38:27 GMT’, ‘Strict-Transport-Security’: ‘max-age=604800’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Link’: ‘<EDITED BECAUSE PIECE OF SHIT FORUM WANTS NO MORE THAN 2 LINKS>;rel=“next”’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Tue, 27 Oct 2015 13:38:27 GMT’, ‘X-Frame-Options’: ‘DENY’, ‘Content-Type’: ‘application/json’, ‘Access-Control-Allow-Origin’: ‘’, ‘Replay-Nonce’: ‘bzs9DazPWcwMT_8oD6GTMkZ7_Ef46CNbFDPuu4cCtoE’}. Content: '{“identifier”:{“type”:“dns”,“value”:“granivo.re”},“status”:“invalid”,“expires”:“2015-11-03T13:37:51Z”,“challenges”:[{“type”:“simpleHttp”,“status”:“invalid”,“error”:{“type”:“urn:acme:error:unauthorized”,“detail”:“Validation payload has improper value for field token”},“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19980",“token”:“p8BhiFn1J9XlwUG2m3Wkd4d1TKUaSyXeHlIqdNM3UJw”,“tls”:false,“validationRecord”:[{“url”:“http://granivo.re/.well-known/acme-challenge/p8BhiFn1J9XlwUG2m3Wkd4d1TKUaSyXeHlIqdNM3UJw”,“hostname”:“granivo.re”,“port”:“80”,“addressesResolved”:[“195.154.235.104”],“addressUsed”:“195.154.235.104”}]},{“type”:“dvsni”,“status”:“pending”,“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19981”,“token”:“10c9eG85fXIci51xTCFN7bDamOsOQMyi9CtL4yMcOJ0”},{“type”:“http-01”,“status”:“pending”,“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19982”,“token”:“vXE9OGFHtcw8XHQhfzrQ4c1BWr8XQY9sDVqCG-9o23M”},{“type”:“tls-sni-01”,“status”:“pending”,“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19983”,“token”:“Q2iEJsP7sW4VLRqbJAHG7WRIPAe9YiacmlGp2_cowIc”}],"combinations”:[[0],[1],[2],[3]]}'
2015-10-27 13:38:27,244:DEBUG:acme.client:Received response <Response [200]> (headers: {‘Content-Length’: ‘1314’, ‘Expires’: ‘Tue, 27 Oct 2015 13:38:27 GMT’, ‘Strict-Transport-Security’: ‘max-age=604800’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Link’: ‘EDITED BECAUSE PIECE OF SHIT FORUM WANTS NO MORE THAN 2 LINKS;rel=“next”’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Tue, 27 Oct 2015 13:38:27 GMT’, ‘X-Frame-Options’: ‘DENY’, ‘Content-Type’: ‘application/json’, ‘Access-Control-Allow-Origin’: '’, ‘Replay-Nonce’: ‘bzs9DazPWcwMT_8oD6GTMkZ7_Ef46CNbFDPuu4cCtoE’}): ‘{“identifier”:{“type”:“dns”,“value”:“granivo.re”},“status”:“invalid”,“expires”:“2015-11-03T13:37:51Z”,“challenges”:[{“type”:“simpleHttp”,“status”:“invalid”,“error”:{“type”:“urn:acme:error:unauthorized”,“detail”:“Validation payload has improper value for field token”},“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19980",“token”:“p8BhiFn1J9XlwUG2m3Wkd4d1TKUaSyXeHlIqdNM3UJw”,“tls”:false,“validationRecord”:[{“url”:“http://granivo.re/.well-known/acme-challenge/p8BhiFn1J9XlwUG2m3Wkd4d1TKUaSyXeHlIqdNM3UJw”,“hostname”:“granivo.re”,“port”:“80”,“addressesResolved”:[“195.154.235.104”],“addressUsed”:“195.154.235.104”}]},{“type”:“dvsni”,“status”:“pending”,“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19981”,“token”:“10c9eG85fXIci51xTCFN7bDamOsOQMyi9CtL4yMcOJ0”},{“type”:“http-01”,“status”:“pending”,“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19982”,“token”:“vXE9OGFHtcw8XHQhfzrQ4c1BWr8XQY9sDVqCG-9o23M”},{“type”:“tls-sni-01”,“status”:“pending”,“uri”:“https://acme-v01.api.letsencrypt.org/acme/challenge/SFfLT0zABTK_hkEvFvsGMYuc5TLA_LSseXBs8KzxaAo/19983”,“token”:“Q2iEJsP7sW4VLRqbJAHG7WRIPAe9YiacmlGp2_cowIc”}],"combinations”:[[0],[1],[2],[3]]}’
the IP address in these log entries does match the domain, so I’m not sure what is going wrong. Hence why I’m wondering if maybe there was a problem with the whitelisting.