2019-03-12 10:56:20,635:DEBUG:certbot.main:certbot version: 0.28.0
2019-03-12 10:56:20,635:DEBUG:certbot.main:Arguments: []
2019-03-12 10:56:20,636:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-03-12 10:56:20,642:DEBUG:certbot.log:Root logging level set at 20
2019-03-12 10:56:20,643:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-03-12 10:56:20,650:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7fa4d6064128> and installer <certbot.cli._Default object at 0x7fa4d6064128>
2019-03-12 10:56:20,656:DEBUG:certbot.storage:Should renew, less than 30 days before certificate expiry 2019-03-17 13:18:59 UTC.
2019-03-12 10:56:20,657:INFO:certbot.renewal:Cert is due for renewal, auto-renewing...
2019-03-12 10:56:20,657:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2019-03-12 10:56:20,739:DEBUG:certbot_apache.configurator:Apache version is 2.4.18
2019-03-12 10:56:21,060:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin - Beta
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7fa4d603feb8>
Prep: True
2019-03-12 10:56:21,062:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin - Beta
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7fa4d603feb8>
Prep: True
2019-03-12 10:56:21,062:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_apache.override_debian.DebianConfigurator object at 0x7fa4d603feb8> and installer <certbot_apache.override_debian.DebianCon
figurator object at 0x7fa4d603feb8>
2019-03-12 10:56:21,063:INFO:certbot.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2019-03-12 10:56:21,065:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, status=None, agreement=None, only_return_existing=None, terms_of_service_agreed=None, contact=
()), terms_of_service=None, new_authzr_uri=None, uri='https://acme-v02.api.letsencrypt.org/acme/acct/47848428'), 618ae3da65b7b8becfa1a73b50c10f92, Meta(creation_dt=datetime.datetime(2018, 12, 17, 16, 15, 59, tzi
nfo=<UTC>), creation_host='nagios-sch.nynet.co.uk'))>
2019-03-12 10:56:21,066:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2019-03-12 10:56:21,069:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
2019-03-12 10:56:21,134:WARNING:certbot.renewal:Attempting to renew cert (nycc-nagios.nynet.co.uk) from /etc/letsencrypt/renewal/nycc-nagios.nynet.co.uk.conf produced an unexpected error: ("bad handshake: Error(
[('SSL routines', 'SSL23_GET_SERVER_HELLO', 'tlsv1 alert internal error')],)",). Skipping.
2019-03-12 10:56:21,137:DEBUG:certbot.renewal:Traceback was:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 438, in wrap_socket
cnx.do_handshake()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1716, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1456, in _raise_ssl_error
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'SSL23_GET_SERVER_HELLO', 'tlsv1 alert internal error')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 345, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 846, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 326, in connect
ssl_context=context)
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 325, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 445, in wrap_socket
raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'tlsv1 alert internal error')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 630, in urlopen
raise SSLError(e)
urllib3.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'tlsv1 alert internal error')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 430, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1166, in renew_cert
le_client = _init_le_client(config, auth, installer)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 611, in _init_le_client
return client.Client(config, acc, authenticator, installer, acme=acme)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 248, in __init__
acme = acme_from_config_key(config, self.account.key, self.account.regr)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 51, in acme_from_config_key
return acme_client.BackwardsCompatibleClientV2(net, key, config.server)
File "/usr/lib/python3/dist-packages/acme/client.py", line 763, in __init__
directory = messages.Directory.from_json(net.get(server).json())
File "/usr/lib/python3/dist-packages/acme/client.py", line 1097, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/usr/lib/python3/dist-packages/acme/client.py", line 1046, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 502, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 612, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'tlsv1 alert internal error')],)",)
2019-03-12 10:56:21,138:ERROR:certbot.renewal:All renewal attempts failed. The following certs could not be renewed:
2019-03-12 10:56:21,138:ERROR:certbot.renewal: /etc/letsencrypt/live/nycc-nagios.nynet.co.uk/fullchain.pem (failure)
2019-03-12 10:56:21,139:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.28.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1340, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1247, in renew
renewal.handle_renewal_request(config)
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 455, in handle_renewal_request
len(renew_failures), len(parse_failures)))
certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)
And the confā¦
cat /etc/letsencrypt/renewal/nycc-nagios.nynet.co.uk.conf
# renew_before_expiry = 30 days
version = 0.28.0
archive_dir = /etc/letsencrypt/archive/nycc-nagios.nynet.co.uk
cert = /etc/letsencrypt/live/nycc-nagios.nynet.co.uk/cert.pem
privkey = /etc/letsencrypt/live/nycc-nagios.nynet.co.uk/privkey.pem
chain = /etc/letsencrypt/live/nycc-nagios.nynet.co.uk/chain.pem
fullchain = /etc/letsencrypt/live/nycc-nagios.nynet.co.uk/fullchain.pem
# Options used in the renewal process
[renewalparams]
server = https://acme-v02.api.letsencrypt.org/directory
authenticator = apache
installer = apache
account = 618ae3da65b7b8becfa1a73b50c10f92