Good pointâŚ
Installed Packages
python2-certbot-nginx.noarch 0.39.0-1.el7
Available Packages
python2-certbot-nginx.noarch 1.3.0-1.el7
I therefore ran
sudo yum update python2-certbot-nginx
Then
sudo certbot renew --nginx
Now I get a different errorâŚ
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
From cffi callback <function _verify_callback at 0x7f5917034230>:
Traceback (most recent call last):
File â/usr/lib/python2.7/site-packages/OpenSSL/SSL.pyâ, line 309, in wrapper
_lib.X509_up_ref(x509)
AttributeError: âmoduleâ object has no attribute âX509_up_refâ
An unexpected error occurred:
ConnectionError: HTTPSConnectionPool(host=âacme-v02.api.letsencrypt.orgâ, port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError(âbad handshake: Error([(âSSL routinesâ, âssl3_get_server_certificateâ, âcertificate verify failedâ)],)â,),))
Please see the logfiles in /var/log/letsencrypt for more details.
Detail of the log file is as followsâŚ
2020-07-13 16:45:22,532:DEBUG:certbot._internal.main:certbot version: 1.3.0
2020-07-13 16:45:22,532:DEBUG:certbot._internal.main:Arguments: [âânginxâ]
2020-07-13 16:45:22,532:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-07-13 16:45:22,552:DEBUG:certbot._internal.log:Root logging level set at 20
2020-07-13 16:45:22,552:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-07-13 16:45:22,557:DEBUG:certbot._internal.plugins.selection:Requested authenticator nginx and installer nginx
2020-07-13 16:45:22,856:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * nginx
Description: Nginx Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx._internal.configurator:NginxConfigurator
Initialized: <certbot_nginx._internal.configurator.NginxConfigurator object at 0x7f59171b3b90>
Prep: True
2020-07-13 16:45:22,856:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot_nginx._internal.configurator.NginxConfigurator object at 0x7f59171b3b90> and installer <certbot_nginx._internal.configurator.NginxConfigurator object at 0x7f59171b3b90>
2020-07-13 16:45:22,857:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator nginx, Installer nginx
2020-07-13 16:45:22,868:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(status=None, terms_of_service_agreed=None, agreement=None, only_return_existing=None, contact=(), key=None, external_account_binding=None), uri=uâhttps://acme-v02.api.letsencrypt.org/acme/acct/78159866â, new_authzr_uri=None, terms_of_service=None), 4badb687fbc1cfb4541c53edc27d6b25, Meta(creation_host=uâwestlancs-eb.subnet.vcn.oraclevcn.comâ, creation_dt=datetime.datetime(2020, 2, 14, 12, 55, 9, tzinfo=)))>
2020-07-13 16:45:22,871:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2020-07-13 16:45:22,881:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
2020-07-13 16:45:23,144:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File â/bin/certbotâ, line 9, in
load_entry_point(âcertbot==1.3.0â, âconsole_scriptsâ, âcertbotâ)()
File â/usr/lib/python2.7/site-packages/certbot/main.pyâ, line 15, in main
return internal_main.main(cli_args)
File â/usr/lib/python2.7/site-packages/certbot/_internal/main.pyâ, line 1347, in main
return config.func(config, plugins)
File â/usr/lib/python2.7/site-packages/certbot/_internal/main.pyâ, line 1093, in run
le_client = _init_le_client(config, authenticator, installer)
File â/usr/lib/python2.7/site-packages/certbot/_internal/main.pyâ, line 610, in _init_le_client
return client.Client(config, acc, authenticator, installer, acme=acme)
File â/usr/lib/python2.7/site-packages/certbot/_internal/client.pyâ, line 257, in init
acme = acme_from_config_key(config, self.account.key, self.account.regr)
File â/usr/lib/python2.7/site-packages/certbot/_internal/client.pyâ, line 44, in acme_from_config_key
return acme_client.BackwardsCompatibleClientV2(net, key, config.server)
File â/usr/lib/python2.7/site-packages/acme/client.pyâ, line 827, in init
directory = messages.Directory.from_json(net.get(server).json())
File â/usr/lib/python2.7/site-packages/acme/client.pyâ, line 1158, in get
self._send_request(âGETâ, url, **kwargs), content_type=content_type)
File â/usr/lib/python2.7/site-packages/acme/client.pyâ, line 1107, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File â/usr/lib/python2.7/site-packages/requests/sessions.pyâ, line 486, in request
resp = self.send(prep, **send_kwargs)
File â/usr/lib/python2.7/site-packages/requests/sessions.pyâ, line 598, in send
r = adapter.send(request, **kwargs)
File â/usr/lib/python2.7/site-packages/requests/adapters.pyâ, line 424, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host=âacme-v02.api.letsencrypt.orgâ, port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError(âbad handshake: Error([(âSSL routinesâ, âssl3_get_server_certificateâ, âcertificate verify failedâ)],)â,),))
2020-07-13 16:45:23,146:ERROR:certbot._internal.log:An unexpected error occurred: