Please fill out the fields below so we can help you better.
Problem: I can generate a certificate for my domain paranoidandroid.co.za but not the alias www.paranoidandroid.co.za, when I include the alias in the list then I get the error (below).
My domain is: paranoidandroid.co.za
I ran this command: sudo letsencrypt --apache
It produced this output:
An unexpected error occurred:
KeyError: 'server’
Please see the logfiles in /var/log/letsencrypt for more details.
My operating system is (include version): Ubuntu 16.04.2 LTS
My web server is (include version): Apache/2.4.18 (Ubuntu) mod_jk/1.2.41 OpenSSL/1.0.2g
My hosting provider, if applicable, is: Linode
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
More info from log file:
2017-03-15 07:29:50,598:DEBUG:letsencrypt.cli:Root logging level set at 30
2017-03-15 07:29:50,600:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2017-03-15 07:29:50,600:DEBUG:letsencrypt.cli:letsencrypt version: 0.4.1
2017-03-15 07:29:50,600:DEBUG:letsencrypt.cli:Arguments: [’–apache’]
2017-03-15 07:29:50,601:DEBUG:letsencrypt.cli:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2017-03-15 07:29:50,605:DEBUG:letsencrypt.cli:Requested authenticator apache and installer apache
2017-03-15 07:29:51,241:DEBUG:letsencrypt.display.ops:Single candidate plugin: * apache
Description: Apache Web Server - Alpha
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = letsencrypt_apache.configurator:ApacheConfigurator
Initialized: <letsencrypt_apache.configurator.ApacheConfigurator object at 0x7f329d7cf7d0>
Prep: True
2017-03-15 07:29:51,243:DEBUG:letsencrypt.cli:Selected authenticator <letsencrypt_apache.configurator.ApacheConfigurator object at 0x7f329d7cf7d0> and installer <letsencrypt_apache.configurator.ApacheConfigurator
object at 0x7f329d7cf7d0>
2017-03-15 07:30:12,449:DEBUG:letsencrypt.cli:Picked account: <Account(552e0bace5d36c66c6de0eff4571eac1)>
2017-03-15 07:30:12,451:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {}
2017-03-15 07:30:12,457:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2017-03-15 07:30:12,769:DEBUG:requests.packages.urllib3.connectionpool:“GET /directory HTTP/1.1” 200 280
2017-03-15 07:30:12,776:DEBUG:root:Received <Response [200]>. Headers: {‘Content-Length’: ‘280’, ‘Expires’: ‘Wed, 15 Mar 2017 07:30:14 GMT’, ‘Boulder-Request-Id’: ‘LwL7eKQuUYgju3jDhTmxwyrgwNCLfegg6E52TzRsotg’, ‘S
trict-Transport-Security’: ‘max-age=604800’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Wed, 15 Mar 2017 07:30:14 GMT’, ‘X-Fram
e-Options’: ‘DENY’, ‘Content-Type’: ‘application/json’, ‘Replay-Nonce’: ‘nHwXSlorUgjiAyYF5IclKURY3BQM7tXsP0vIX7l7F_w’}. Content: '{\n “new-authz”: “https://acme-v01.api.letsencrypt.org/acme/new-authz”,\n “new-c
ert”: “https://acme-v01.api.letsencrypt.org/acme/new-cert”,\n “new-reg”: “https://acme-v01.api.letsencrypt.org/acme/new-reg”,\n “revoke-cert”: “https://acme-v01.api.letsencrypt.org/acme/revoke-cert”\n}'
2017-03-15 07:30:12,776:DEBUG:acme.client:Received response <Response [200]> (headers: {‘Content-Length’: ‘280’, ‘Expires’: ‘Wed, 15 Mar 2017 07:30:14 GMT’, ‘Boulder-Request-Id’: ‘LwL7eKQuUYgju3jDhTmxwyrgwNCLfegg
6E52TzRsotg’, ‘Strict-Transport-Security’: ‘max-age=604800’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Wed, 15 Mar 2017 07:30:
14 GMT’, ‘X-Frame-Options’: ‘DENY’, ‘Content-Type’: ‘application/json’, ‘Replay-Nonce’: ‘nHwXSlorUgjiAyYF5IclKURY3BQM7tXsP0vIX7l7F_w’}): '{\n “new-authz”: “https://acme-v01.api.letsencrypt.org/acme/new-authz”,\n
"new-cert": “https://acme-v01.api.letsencrypt.org/acme/new-cert”,\n “new-reg”: “https://acme-v01.api.letsencrypt.org/acme/new-reg”,\n “revoke-cert”: “https://acme-v01.api.letsencrypt.org/acme/revoke-cert”\n}'
2017-03-15 07:30:35,745:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/letsencrypt”, line 9, in
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 453, in _auth_from_domains
original_server = lineage.configuration[“renewalparams”][“server”]
File “/usr/lib/python2.7/dist-packages/configobj.py”, line 554, in getitem
val = dict.getitem(self, key)
KeyError: ‘server’

