Gagal Renew LetsEncrypt, Dan Cara Memperbaikinya

In Uncategorized 102 views

Seandainya teman-teman ada yang mengalami masalah yang sama, mungkin cara ini adalah solusinya.

root@bodi.web.id:~/src/letsencrypt# ./letsencrypt-auto renew
Upgrading certbot-auto 0.31.0 to 0.32.0...
Replacing certbot-auto...
Error: couldn't get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt:
Traceback (most recent call last):
  File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 7, in 
    from certbot.main import main
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 10, in 
    import josepy as jose
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/josepy/__init__.py", line 44, in 
    from josepy.interfaces import JSONDeSerializable
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/josepy/interfaces.py", line 8, in 
    from josepy import errors, util
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/josepy/util.py", line 4, in 
    import OpenSSL
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in 
    from OpenSSL import rand, crypto, SSL
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/OpenSSL/rand.py", line 12, in 
    from OpenSSL._util import (
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in 
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography                                                                                        /hazmat/bindings/openssl/binding.py", line 157, in 
    Binding.init_static_locks()
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography                                                                                        /hazmat/bindings/openssl/binding.py", line 141, in init_static_locks__import__("_ssl")
ImportError: No module named _ssl

Untuk memperbaiki error diatas cukup lakukan beberapa langkah mudah berikut :

1. Rename folder “eff.org”

mv /opt/eff.org/ /opt/eff.org_OLD

2. Jalankan perintah dibawah

./letsencrypt-auto --dry-run

3. Lakukan ulang proses Renew

./letsencrypt-auto renew>\

Sudah aku coba di Debian dan 100% berhasil, selamat mencoba

Related Search

Tags: #Binding File


No related post!

Top