This is an old revision of the document!
Table of Contents
certbot instructions
SSH into the server
1. SSH into the server running your HTTP website as a user with sudo privileges.
Install snapd
2. You'll need to install snapd and make sure you follow any instructions to enable classic snap support. Follow these instructions on snapcraft's site to install snapd.
Ensure that your version of snapd is up to date
3. Execute the following instructions on the command line on the machine to ensure that you have the latest version of snapd.
sudo snap install core; sudo snap refresh core
Remove certbot-auto and any Certbot OS packages
4. If you have any Certbot packages installed using an OS package manager like apt, dnf, or yum, you should remove them before installing the Certbot snap to ensure that when you run the command certbot the snap is used rather than the installation from your OS package manager. The exact command to do this depends on your OS, but common examples are sudo apt-get remove certbot, sudo dnf remove certbot, or sudo yum remove certbot.
If you previously used Certbot through the certbot-auto script, you should also remove its installation by following the instructions here.
Install Certbot
5. Run this command on the command line on the machine to install Certbot.
sudo snap install –classic certbot