Generating a Free Let’s Encrypt SSL Certificate
A step-by-step guide to creating a free SSL certificate from Let's Encrypt.
First, update the system package lists and repositories:
Install CertBot:
Next, install additional packages.
For Nginx:
For Apache2:
Certificate generation
Please note that the web server must be running.
For Nginx:
For Apache2:
If you cannot start the web server, use the following command:
Use the following command to automatically renew the SSL certificate:
From now on, the validity of your certificate will be checked automatically every day.