Home HOW-TO Let’s Encrypt renewal fails after upgrade

Let’s Encrypt renewal fails after upgrade

0
Let’s Encrypt renewal fails after upgrade

Example of issue:

Error: couldn't get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt
ImportError: No module named _ssl

Solution:


mv /opt/eff.org/certbot/venv/bin/letsencrypt /opt/eff.org/certbot/venv/bin/letsencryptSALV
cd /tmp
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto --dry-run