
In this guide, you’ll learn how to generate and install a free SSL certificate on a VPS using Let’s Encrypt.
SSL (Secure Sockets Layer) is a security technology that:
Use SSH to connect:
ssh root@your_server_ipsudo apt update
sudo apt install certbot python3-certbot-apache -ysudo certbot --nginxYou will be asked:
Certbot will automatically install and configure SSL for you.
Open your browser and visit:
https://yourdomain.comYou should see the 🔒 lock icon.
Let’s Encrypt certificates expire every 90 days. Enable auto-renew:
sudo certbot renew --dry-runIf successful, renewal is already scheduled automatically.
✔ Make sure your domain’s A record points to your VPS IP
✔ Open firewall:
✔ Ensure Apache or Nginx is running
Let's create something meaningful
I design clean, user-focused digital experiences for web products and brands. Available for freelance projects and collaborations.