Upgrading Let's Encrypt Certbot to the latest version on Ubuntu
Last updated: March 10th 2021
Introduction
In late 2020 Certbot stopped updating the Apt package version of Certbot for Ubuntu and switched entirely to packaging and distributing Certbot as a Snap package.
In this guide we show how you can easily and safely switch from the old APT package version of Certbot to the new Snap version of Certbot so you can keep renewing your certificates without problems.
Fortunately the procedure is totally safe and very easy to do, after which you can be sure Certbot is being kept up-to-date by Snap automatically, reducing the probability of issues with your Let's Encrypt Certificates.
Please note: We have created a script in the Webdock Dashboard which you can run on your Webdock server in order to complete this procedure below automatically. Find it in the Script Library in your Account.
Upgrading Let's Encrypt Certbot by going over to the Snap version
First, remove the old APT version of Certbot
sudo apt remove -y certbot python3-certbot-nginx python3-certbot-apache
Next, Install the Snap version of Certbot
sudo snap install --classic certbot
And finally, link in the Certbot binary so it can be run from anywhere
sudo ln -s /snap/bin/certbot /usr/bin/certbot
That's it! Now Certbot on your system is the latest version and running through Snap. It will keep itself updated from now on.
If you encounter any issues with the above, try upgrading your system as a whole with the regular apt commands:
sudo apt update sudo apt upgrade
After which, try re-running the above commands.
Related articles
-
Common Certbot Errors
Let's Encrypt Certbot sometimes kicks up a fuss. In this article we document the most commonly encountered errors and how to solve them.
Last updated: July 6th 2022
-
Cloudflare Cache and SSL
Webdock offers full Let's Encrypt support on all our stacks, and we enable and force HTTPS on your server as soon as it is created. This page details some of the caveats you might run into while working with Let's Encrypt and Certbot.
Last updated: May 7th 2022
-
How to integrate your own SSL certificate in Nginx or Apache
In this article we describe how you can integrate your own SSL certicate in Nginx or Apache on a Webdock stack.
Last updated: May 11th 2020
-
Increasing SSL security
If you operate a web shop and gather payment information, you should be aware that the international security standard PCI DSS (Payment Card Industry Data Security Standard) requires you to use the newer versions of the TLS protocol (TLS 1.1 or TLS 1.2) no later than July 1st 2018, since TLS 1.0 is outdated and poses a security risk.
Last updated: April 4th 2021
-
Let's Encrypt Root Certificate change affecting Android Users
In this article we describe what the Let's Encrypt Root Certificate change means for your Android users and how you can ensure maximum compatibility until at least September 1st 2021
Last updated: January 6th 2021
-
A Comprehensive Guide to Fixing Common Let's Encrypt Errors
Here you will find everything you need to know about the common let's encrypt errors
Last updated: December 9th 2023