HTTPS gratuit et automatique en 2 minutes avec certbot — le standard de l'industrie.
Prérequis
- Domaine pointant vers votre VPS (enregistrement A)
- Nginx installé et port 80/443 ouverts (UFW)
Installation
apt install -y certbot python3-certbot-nginx
Obtenir le certificat
certbot --nginx -d monsite.com -d www.monsite.com
Certbot modifie votre config Nginx, obtient le certificat et configure la redirection HTTP→HTTPS automatiquement.
Renouvellement automatique
certbot renew --dry-run # test
systemctl status certbot.timer # le renouvellement auto est déjà actif











