Traceback (most recent call last):
File “/bin/certbot”, line 9, in
load_entry_point(‘certbot==0.25.1’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 2566, in load_entry_point
return ep.load()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 2260, in load
entry = import(self.module_name, globals(),globals(), [‘name’])
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 21, in
from certbot import client
File “/usr/lib/python2.7/site-packages/certbot/client.py”, line 16, in
from acme import client as acme_client
File “/usr/lib/python2.7/site-packages/acme/client.py”, line 39, in
urllib3.contrib.pyopenssl.inject_into_urllib3()
AttributeError: ‘module’ object has no attribute ‘pyopenssl’
My web server is :
nginx version: nginx/1.12.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
The operating system my web server runs on is :
CentOS Linux release 7.5.1804 (Core)
I can login to a root shell on my machine:
yes
I have also tried changin the pyopenssl, cryptograhy and python versions. No luck.
urllib3 (1.23) - HTTP library with thread-safe connection pooling, file post, and more.
INSTALLED: 1.22
LATEST: 1.23
sudo pip install urllib3==1.23
certbot renew
Traceback (most recent call last):
File "/usr/bin/certbot", line 9, in <module>
load_entry_point('certbot==0.25.1', 'console_scripts', 'certbot')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 21, in <module>
from certbot import client
File "/usr/lib/python2.7/site-packages/certbot/client.py", line 16, in <module>
from acme import client as acme_client
File "/usr/lib/python2.7/site-packages/acme/client.py", line 39, in <module>
urllib3.contrib.pyopenssl.inject_into_urllib3()
AttributeError: 'module' object has no attribute 'pyopenssl'
I don’t have any answers regarding your dependency problem, but if you use certbot-auto in the meantime, it should restore your ability to issue and renew your existing certificates.