Hello,
I have a cron job that updates my certificates every 3 months, but today it failed. Error is filled in below. I suppose it has something to do with some incompatibility after an update but unfortunately I don’t have any python knowledge to dig further. Any help is highly appreciated.
My domain is: mail.marcman.ro
I ran this command: /usr/local/bin/certbot-auto renew
(fresh version downloaded from https://dl.eff.org/certbot-auto)
It produced this output:
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 <module>
from certbot.main import main
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 10, in <module>
import josepy as jose
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/josepy/__init__.py", line 41, in <module>
from josepy.interfaces import JSONDeSerializable
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/josepy/interfaces.py", line 7, in <module>
from josepy import errors, util
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/josepy/util.py", line 7, in <module>
import OpenSSL
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 12, in <module>
from cryptography import x509
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/x509/__init__.py", line 8, in <module>
from cryptography.x509.base import (
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/x509/base.py", line 16, in <module>
from cryptography.x509.extensions import Extension, ExtensionType
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/x509/extensions.py", line 14, in <module>
from asn1crypto.keys import PublicKeyInfo
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/asn1crypto/keys.py", line 33, in <module>
from .algos import _ForceNullParameters, DigestAlgorithm, EncryptionAlgorithm, RSAESOAEPParams
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/asn1crypto/algos.py", line 26, in <module>
from .core import (
ImportError: No module named core
My web server is (include version): nginx/1.10.3
The operating system my web server runs on is (include version): 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2 (2017-04-30) i686 GNU/Linux
My hosting provider, if applicable, is: -
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): the command /usr/local/bin/certbot-auto --version produces the same error from above
I also have
python --version
Python 2.7.9