Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
deb11:certbot [2021/12/24 13:18] Bernard Condraudeb11:certbot [2021/12/24 14:25] Bernard Condrau
Line 1: Line 1:
 ====== Certbot ====== ====== Certbot ======
 +The following walk through works on Debian 9, 10, and 11.
   - Install snapd<code>sudo apt update   - Install snapd<code>sudo apt update
 sudo apt install snapd sudo apt install snapd
 sudo snap install core sudo snap install core
 sudo snap refresh core</code> sudo snap refresh core</code>
 +  - Remove previously installed certbot packages<code>sudo apt remove --purge certbot
 +sudo rm /usr/local/bin/certbot-auto</code>
 +  - Remove certbot renewal entry in crontab
 +  - Install certbot through snap<code>sudo snap install --classic certbot
 +sudo ln -s /snap/bin/certbot /usr/bin/certbot</code>
 +  - Test automatic renewal<code>sudo certbot renew --dry-run</code>
 +  - Check that the certbot renewal service has been set up<code>systemctl list-timers</code>
 +
 +==== Links ====
 +  * [[https://certbot.eff.org/instructions?ws=apache&os=debianbuster|certbot instructions: Apache on Debian 10]]
 +  * [[https://eff-certbot.readthedocs.io/en/stable/uninstall.html|Uninstalling certbot-auto]]