Hi all,
I’m still experiencing similar problems. When issuing a whole bunch of certificates, it fails on a single domain with the internal server error but does issue the .pem file. Running the command certbot --apache --debug on the single domain this is the last part of the log. I’m a noobie and can’t seem to find the problem. I took out all the cryptograpic output and replaced it with redacted in the post below. Any help would be welcome!
2017-09-11 17:18:22,223:INFO:certbot.auth_handler:Cleaning up challenges
2017-09-11 17:18:23,739:INFO:certbot.crypto_util:Generating key (2048 bits): /etc/letsencrypt/keys/0025_key-certbot.pem
2017-09-11 17:18:23,752:INFO:certbot.crypto_util:Creating CSR: /etc/letsencrypt/csr/0025_csr-certbot.pem
2017-09-11 17:18:23,752:DEBUG:certbot.client:CSR: CSR(file='/etc/letsencrypt/csr/0025_csr-certbot.pem', data='**redacted**'), domains: ['stichtingleenaertboon.nl', 'www.stichtingleenaertboon.nl']
2017-09-11 17:18:23,753:DEBUG:acme.client:Requesting issuance...
2017-09-11 17:18:23,754:DEBUG:acme.client:JWS payload:
{
"resource": "new-cert",
"csr": "**redacted**"
}
2017-09-11 17:18:23,766:DEBUG:root:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-cert:
{
"header": {
"alg": "RS256",
"jwk": {
"e": "AQAB",
"kty": "RSA",
"n": "**redacted**"
}
},
"protected": "**redacted**",
"payload": "**redacted**",
"signature": "**redacted**"
}
2017-09-11 17:18:26,531:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/new-cert HTTP/1.1" 500 101
2017-09-11 17:18:26,537:DEBUG:acme.client:Received response:
HTTP 500
Server: nginx
Content-Type: application/problem+json
Content-Length: 101
Boulder-Request-Id: ZzOCGMgKwzUBAwXRlRdxtNUosYnd1JMaLTW5ocidfo4
Boulder-Requester: 8125549
Replay-Nonce: tEkh_ku5vrNb4UFMDLAoWRuDU85cHB6puvsti_NGaEY
Expires: Mon, 11 Sep 2017 17:18:26 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 11 Sep 2017 17:18:26 GMT
Connection: close
{
"type": "urn:acme:error:serverInternal",
"detail": "Error creating new cert",
"status": 500
}
2017-09-11 17:18:26,539:DEBUG:acme.client:Storing nonce: tEkh_ku5vrNb4UFMDLAoWRuDU85cHB6puvsti_NGaEY
2017-09-11 17:18:26,541:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.10.2', 'console_scripts', 'certbot')()
File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 849, in main
return config.func(config, plugins)
File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 575, in run
action, lineage = _auth_from_available(le_client, config, domains, certname)
File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 107, in _auth_from_available
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 291, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 272, in obtain_certificate
return (self.obtain_certificate_from_csr(domains, csr, authzr=authzr)
File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 243, in obtain_certificate_from_csr
authzr)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 318, in request_issuance
headers={'Accept': content_type})
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 671, in post
return self._post_once(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 684, in _post_once
return self._check_response(response, content_type=content_type)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 570, in _check_response
raise messages.Error.from_json(jobj)
Error: urn:acme:error:serverInternal :: The server experienced an internal error :: Error creating new cert