Installing certbot-Getting and Renewing Let's Encrypt SSL Certificate

To get and renew the Let's Encrypt SSL certificate, install the certbot package with the apt command.

You can get an SSL certificate for free with Let's Encrypt, but certbot is an application that gets and renews an SSL certificate from Let's Encrypt.

sudo apt install -y certbot

Make sure you have certbot installed.

certbot --help

Use the SSL certificate obtained by Let's Encrypt with Apache

If you use Apache with the SSL certificate obtained by Let's Encrypt, use the python-certbot-nginx package, which is an Apache plugin for Certbot. Let's install it in. It provides a mechanism that makes it easy to use the SSL certificate obtained by Let's Encrypt in the Apache configuration file.

sudo apt install -y python-certbot-apache

Use the SSL certificate obtained by Let's Encrypt with Nginx

If you want to use the SSL certificate obtained by Let's Encrypt with Nginx, install the python-certbot-nginx package which is the Nginx plugin for Certbot together if you use the SSL certificate obtained by Let's Encrypt. .. It provides a mechanism that makes it easy to use the SSL certificate obtained by Let's Encrypt in the Nginx configuration file.

sudo apt install -y python-certbot-nginx

Associated Information