Setup SSL Certificate with Let's Encrypt

December 24, 2025 5 min read VPS Management

Free SSL with Let's Encrypt

Install Certbot

sudo apt install certbot python3-certbot-nginx -y

Get SSL Certificate

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

Auto-Renewal Setup

# Test renewal
sudo certbot renew --dry-run

# Renewal runs automatically via cron
sudo systemctl status certbot.timer

Manual Renewal

sudo certbot renew

Certificate Locations

# Certificate: /etc/letsencrypt/live/yourdomain.com/fullchain.pem
# Private Key: /etc/letsencrypt/live/yourdomain.com/privkey.pem

Free SSL included with all WebHostWare VPS plans.

Need Managed VPS?

Skip the setup hassle. WebHostWare Managed VPS comes pre-configured with everything you need.

View VPS Plans