Secure your site (free HTTPS)
Enable Let\'s Encrypt SSL to secure your website.
What this tutorial does
The tutorial "Secure your site (free HTTPS)" helps you achieve this goal:
Enable Let\'s Encrypt SSL to secure your website.
Apache2
-
Install Certbot: apt install -y certbot python3-certbot-apache -
Generate the SSL certificate: certbot --apache -d example.com -d www.example.com - The site is now accessible via secure HTTPS.
-
Test auto-renewal: certbot renew --dry-run
Nginx
-
Install Certbot: apt install -y certbot python3-certbot-nginx -
Generate the SSL certificate: certbot --nginx -d example.com -d www.example.com -
Test auto-renewal: certbot renew --dry-run