Get a VPS server with a 15% discount
Sale ends in
00Days
:
00Hours
:
00Minutes
:
00Seconds

Generating Let's Encrypt SSL

A step-by-step guide to creating a free SSL certificate from Let's Encrypt.

First, update the system package lists and repositories:

sudo apt-get -y update && sudo apt-get -y dist-upgrade

 

Install CertBot:

sudo apt-get -y install certbot

 

Next, install additional packages:

For Nginx:

sudo apt-get -y install python3-certbot-nginx

 

For Apache2:

sudo apt-get -y install python3-certbot-apache
 
Certificate generation:

 

For Nginx:

certbot certonly --nginx -d yoursite.com

 

For Apache2:

certbot certonly --apache -d yoursite.com

If you cannot start the Web server, use the following command:

certbot certonly --standalone -d yoursite.com

 

Use the following command to automatically renew the SSL certificate:

certbot renew
Â