Linux

How to install certbot SSL certificate on Ubuntu and Auto-renewals certbot SSL certificate

How to install certbot ssl certificate on Ubuntu and Auto renewals certbot ssl certificate





Do you want to install SSL certificate got free? Now we show you how to Install SSL on Ubuntu using Certbot and get high quality for using your dedicated server. Below is a special show of auto certificate renewal SSL on Let’s Encrypt.

1. Install Certbot and update Ubuntu.

 $ sudo apt-get update -y && sudo apt-get upgrade -y
 $ sudo apt-get install software-properties-common
 $ sudo add-apt-repository ppa:certbot/certbot
 $ sudo apt-get update
 $ sudo apt-get install python-certbot-apache

Confide Certbot on Ubuntu.

$ sudo certbot --apache 

When you process this code, you need to answer a question from the system which you need to type your email and enter after that chose gree by type: A and type N to protect that someone cannot see your email.

Auto-renewals certbot SSL certificate

$ sudo certbot renew --dry-run

The command is made for Renewals SSL certificate on certbot, for the processing, you will need almost an hour to complete it.

After finish renewals SSL certificate, you will need to add more code on crontab Ubuntu in order to work renewals certbot SSL certificate by itself.

$ sudo crontab -e

After you pass crontab, please pass 59 * * * * sudo certbot renew on button site Ubuntu system proceed run code by itself។ After that CTRL+C and type y + enter for save the file.

Ubuntu auto install ssl certificate on certbot
Ubuntu auto-install SSL certificate on certbot

CONCLUSION
Certbot is a good program for using an SSL certificate because it is known worldwide.

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

To Top