I originally had ubuntu 14.04 with Lets encrypt on. I rebuilt the server to ubuntu 16.04 and copied the cert. The cert needs to be renewed so i followed the instruction on https://certbot.eff.org/
However i keep getting the error below, Any ideas ?
2016-07-30 07:20:40,547:DEBUG:letsencrypt.cli:Root logging level set at 30
2016-07-30 07:20:40,548:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-07-30 07:20:40,549:DEBUG:letsencrypt.cli:letsencrypt version: 0.4.1
2016-07-30 07:20:40,549:DEBUG:letsencrypt.cli:Arguments: ['--apache']
2016-07-30 07:20:40,550:DEBUG:letsencrypt.cli:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-07-30 07:20:40,555:DEBUG:letsencrypt.cli:Requested authenticator apache and installer apache
2016-07-30 07:20:40,891: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 0x7f78d4e55710>
Prep: True
2016-07-30 07:20:40,893:DEBUG:letsencrypt.cli:Selected authenticator <letsencrypt_apache.configurator.ApacheConfigurator object at 0x7f78d4e55710> and installer <letsencrypt_apache.configurator.ApacheConfigurator object at 0x7f78d4e55710
2016-07-30 07:20:42,029:DEBUG:letsencrypt.cli:Picked account: <Account(db39b764c075fcb892dcb05724db52a6)>
2016-07-30 07:20:42,031:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {}
2016-07-30 07:20:42,035:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-07-30 07:20:42,396:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 200 280
2016-07-30 07:20:42,398:DEBUG:root:Received <Response [200]>. Headers: {'Content-Length': '280', 'Expires': 'Sat, 30 Jul 2016 07:20:42 GMT', 'Boulder-Request-Id': 'YkbcKNIMZRhHtCFcpbvLc5XkEjQynB6V5OLArA1vfmA', 'Strict-Transport-Security'
: 'max-age=604800', 'Server': 'nginx', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Sat, 30 Jul 2016 07:20:42 GMT', 'X-Frame-Options': 'DENY', 'Content-Type': 'application/j
son', 'Replay-Nonce': 'REMOVED'}. Content: '{\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}'
2016-07-30 07:20:42,399:DEBUG:acme.client:Received response <Response [200]> (headers: {'Content-Length': '280', 'Expires': 'Sat, 30 Jul 2016 07:20:42 GMT', 'Boulder-Request-Id': 'YkbcKNIMZRhHtCFcpbvLc5XkEjQynB6V5OLArA1vfmA', 'Strict-Tra
nsport-Security': 'max-age=604800', 'Server': 'nginx', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Sat, 30 Jul 2016 07:20:42 GMT', 'X-Frame-Options': 'DENY', 'Content-Type'
: 'application/json', 'Replay-Nonce': 'REMOVED'}): '{\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}'
2016-07-30 07:20:42,403:DEBUG:parsedatetime:parse (top of loop): [30 days]
2016-07-30 07:20:42,410:DEBUG:parsedatetime:CRE_UNITS matched
2016-07-30 07:20:42,411:DEBUG:parsedatetime:parse (bottom) [30 days]
2016-07-30 07:20:42,411:DEBUG:parsedatetime:weekday False, dateStd False, dateStr False, time False, timeStr False, meridian False
2016-07-30 07:20:42,411:DEBUG:parsedatetime:dayStr False, modifier False, modifier2 False, units True, qunits False
2016-07-30 07:20:42,411:DEBUG:parsedatetime:_evalString(30 days, time.struct_time(tm_year=2016, tm_mon=7, tm_mday=30, tm_hour=7, tm_min=20, tm_sec=42, tm_wday=5, tm_yday=212, tm_isdst=0))
2016-07-30 07:20:42,411:DEBUG:parsedatetime:_buildTime: [30 ][days]
2016-07-30 07:20:42,411:DEBUG:parsedatetime:units days --> realunit days
2016-07-30 07:20:42,411:DEBUG:parsedatetime:return
2016-07-30 07:20:42,411:DEBUG:letsencrypt.storage:Should renew, less than 30 days before certificate expiry 2016-08-09 16:59:00 UTC.
2016-07-30 07:20:42,411:INFO:letsencrypt.cli:Cert is due for renewal, auto-renewing...
2016-07-30 07:20:42,412: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.__g