I cant seem to generate a certificate on ubuntu 16.04 apache2. I’m running this as a non-root user but with sudo privs:
sudo letsencrypt --apache
Have also tried with adding the domains with -d domain.com
but I end up with the same problem
It asks which names I’d like to activate https for (www.example.com and example.com). I select both
It asks for my email address
I agree to TOS
It then quits and gives me this error:
An unexpected error occurred:
ClientError: (<Response [500]>, DeserializationError('The following field are required: detail',))
Please see the logfiles in /var/log/letsencrypt for more details.
When I look in the log file, the last section has this traceback (let me know if you need to see the log output from before this):
2016-10-31 05:20:06,146:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/letsencrypt", line 9, in <module>
load_entry_point('letsencrypt==0.4.1', 'console_scripts', 'letsencrypt')()
File "/usr/lib/python2.7/dist-packages/letsencrypt/cli.py", line 1986, in main
return config.func(config, plugins)
File "/usr/lib/python2.7/dist-packages/letsencrypt/cli.py", line 662, in run
lineage, action = _auth_from_domains(le_client, config, domains)
File "/usr/lib/python2.7/dist-packages/letsencrypt/cli.py", line 474, in _auth_from_domains
lineage = le_client.obtain_and_enroll_certificate(domains)
File "/usr/lib/python2.7/dist-packages/letsencrypt/client.py", line 269, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python2.7/dist-packages/letsencrypt/client.py", line 252, in obtain_certificate
return self.obtain_certificate_from_csr(domains, csr) + (key, csr)
File "/usr/lib/python2.7/dist-packages/letsencrypt/client.py", line 225, in obtain_certificate_from_csr
authzr = self.auth_handler.get_authorizations(domains)
File "/usr/lib/python2.7/dist-packages/letsencrypt/auth_handler.py", line 74, in get_authorizations
domain, self.account.regr.new_authzr_uri)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 217, in request_domain_challenges
typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 197, in request_challenges
new_authz)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 652, in post
return self._check_response(response, content_type=content_type)
File "/usr/lib/python2.7/dist-packages/acme/client.py", line 571, in _check_response
raise errors.ClientError((response, error))
ClientError: (<Response [500]>, DeserializationError('The following field are required: detail',))
How can I fix this problem?