Creating an SSL Certificate with Let's Encrypt
Tutorials
Let's Encrypt is a certificate authority that provides free SSL certificates. For more information, visit the official Let's Encrypt website. Here's how to proceed:
Prerequisites
- A web server (Apache or Nginx)
- A domain name pointing to your server
- SSH access to your server
Installing Certbot
# On Ubuntu/Debian
sudo apt update
sudo apt install certbot
# On CentOS/RHEL
sudo yum install certbot
Obtaining the Certificate
With Apache
sudo certbot --apache -d yourdomain.com
With Nginx
sudo certbot --nginx -d yourdomain.com
Automatic Renewal
Let's Encrypt offers 90-day valid certificates. For automatic renewal:
sudo certbot renew --dry-run
Add a cron job:
0 0 1 * * /usr/bin/certbot renew --quiet
Verification
- Test your site with https://
- Use our monitoring service to automatically verify and monitor your certificate
- Ensure automatic renewal is working
Back to guides
Published on: 11/04/2025