How to install a free SSL certificate with Certbot and Nginx
What you will get
Requirements before you start
1. Check DNS resolution
nslookup example.comdig +short example.com2. Install Certbot and the Nginx plugin
3. Validate the Nginx configuration
4. Run Certbot
5. Test HTTPS access
6. Verify automatic renewal
Where the certificates are stored
Common issues
Certbot cannot validate the domain
Nginx fails after changes
Best practices
Conclusion
Last updated