Install SSL with Let's Encrypt / Certbot
This guide helps you configure HTTPS using free Certbot certificates.
Step 1: Install Certbot
# Ubuntu/Debian (Apache):
sudo apt update
sudo apt install certbot python3-certbot-apache
Step 2: Obtain SSL Certificate
sudo certbot --apache -d example.com -d www.example.com
Step 3: Force HTTPS & Reload
sudo certbot --apache
# enable permanent redirect, then:
sudo systemctl reload apache2
Tip: Your certs auto-renew. Verify with: sudo certbot renew --dry-run
Need help? Contact [email protected]