Free Let's Encrypt certificates for your website
This comprehensive guide will walk you through securing your Nginx server with a free SSL certificate from Let's Encrypt using Certbot. SSL is essential for protecting your users' data and improving your site's SEO ranking.
First, install Certbot and its Nginx plugin package using your package manager.
sudo apt update && sudo apt install certbot python3-certbot-nginx
For other systems, check certbot.eff.org for specific instructions.
Run Certbot with the Nginx plugin to automatically obtain and install the certificate.
sudo certbot --nginx -d example.com -d www.example.com
Certbot sets up automatic renewal for you, but you can test the renewal process with:
sudo certbot renew --dry-run
Certificates are valid for 90 days and should renew automatically. The command above verifies that automatic renewal works properly.
Your site should now be accessible via https://
and all traffic will be securely encrypted.
Need help? Found an issue? Contact us
© 2023 tomskbs.info - All Rights Reserved