Install Certbot on Ubuntu 20.04 (Focal Fossa)

Author
By Darío Rivera
Posted On in Ubuntu

Certbot is one of the official tools mentioned by Let's Encrypt that automates the process of generating an SSL certificate. The recommended way to install Certbot on Ubuntu is through snap. That's why the first thing you need to do is make sure you have snap installed.

sudo apt-get install snap

If you already had it installed, you must make sure snap is updated.

sudo snap install core; sudo snap refresh core

If there is a previous installation with the package manager apt, it must be removed.

sudo apt-get remove certbot

After this, you can safely install Certbot with snap.

sudo snap install --classic certbot

Finally, you must prepare the execution of the certbot command by creating the following symbolic link.

sudo ln -s /snap/bin/certbot /usr/bin/certbot

To learn how to generate a certificate with Let's Encrypt, you can visit our article SSL Certificate with Let's Encrypt. See you next time!


Acerca de Darío Rivera

Author

Application Architect at Elentra Corp . Quality developer and passionate learner with 10+ years of experience in web technologies. Creator of EasyHttp , an standard way to consume HTTP Clients.

LinkedIn Twitter Instagram

Sólo aquellos que han alcanzado el éxito saben que siempre estuvo a un paso del momento en que pensaron renunciar.