Error Generate Certificate SSL Menggunakan Let's Encrypt
Beberapa bulan yang lalu I’m siBunglon masih bisa generate SSL menggunakan Let’s Encrypt namun hari ini I’m siBunglon menemukan error ketika akan generate SSL lagi dan I’m siBunglon mendapatkan error message seperti berikut:
[root@airgreen siBunglon]# certbot --nginx -d repo.lab.sibunglon.com
Traceback (most recent call last):
File "/bin/certbot", line 9, in <module> load_entry_point('certbot==0.29.1', 'console_scripts', 'certbot')()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 487, in load_entry_point return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2728, in load_entry_point return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2346, in load return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2352, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 23, 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 40, in <module> urllib3.contrib.pyopenssl.inject_into_urllib3() AttributeError: 'module' object has no attribute 'pyopenssl'
[root@airgreen siBunglon]#
Kenapa bisa error? padahal sebelumnya udah pernah generate SSL di server sama pun, jangan panik 😂 itu bukan masalah besar. Jika kalian mengalami hal yang sama ataupun mendapatkan error message yang sama seperti I’m siBunglon paparkan, cukup install dependensinya dengan command pip install requests==2.6.0
.