Why SSL?

HTTPS encrypts traffic between your server and visitors. It's required for SEO, security, and browser trust. Let's Encrypt provides free SSL certificates.

Install Certbot

# Ubuntu/Debian
sudo apt install certbot python3-certbot-nginx

# CentOS
sudo yum install certbot python3-certbot-nginx

Get Certificate

sudo certbot --nginx -d example.com -d www.example.com

Certbot will automatically configure Nginx and set up auto-renewal.

Auto-Renewal

sudo certbot renew --dry-run

Certificates auto-renew every 60 days via a systemd timer.