Error while renewing certificates certbot-auto

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:certbot-auto certificates

It produced this output:

Error: couldn’t get currently installed version for /opt/
Traceback (most recent call last):
File “/opt/”, line 7, in
from certbot.main import main
File “/opt/”, line 11, in
import josepy as jose
File “/opt/”, line 44, in
from josepy.interfaces import JSONDeSerializable
File “/opt/”, line 8, in
from josepy import errors, util
File “/opt/”, line 4, in
import OpenSSL
File “/opt/”, line 8, in
from OpenSSL import crypto, SSL
File “/opt/”, line 12, in
from cryptography import x509
ImportError: No module named cryptography

My web server is (include version): Apache/2.2.34 (Unix)

The operating system my web server runs on is (include version): Amazon Linux AMI 2018.03 RHEL Fedora

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): 0.32

Hi @nagsp

does it work if you start new?


In case of misunderstanding, @JuergenAuer is ONLY speaking about downloading again the certbot file, and NOT of deleting anything. Do NOT delete certificates !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.