Hostxpeed
Login Get Started →
Security

How to Install Let's Encrypt SSL

4 min read
31 views
Jun 10, 2026

Step 1: Install Certbot

sudo apt update && sudo apt install certbot python3-certbot-nginx -y

Step 2: Obtain Certificate (Nginx)

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

For Apache

sudo apt install python3-certbot-apache
sudo certbot --apache -d example.com

Step 3: Test Auto-Renewal

sudo certbot renew --dry-run

Was this article helpful?