KBDéveloppement

Configurer un certificat SSL avec Certbot (VPS)

8 vues · Mis à jour le 20/05/2026

Certbot SSL

Installation

apt install certbot\n# Pour Nginx:\napt install python3-certbot-nginx\n# Pour Apache:\napt install python3-certbot-apache

Obtenir un certificat

# Nginx\ncertbot --nginx -d votredomaine.ca -d www.votredomaine.ca\n\n# Apache\ncertbot --apache -d votredomaine.ca -d www.votredomaine.ca

Renouvellement automatique

Certbot configure automatiquement un cron/timer pour le renouvellement. Vérifiez:

certbot renew --dry-run

Wildcard

certbot certonly --manual --preferred-challenges dns -d '*.votredomaine.ca'

Nécessite l'ajout d'un enregistrement TXT DNS pour la validation.

Cet article vous a-t-il été utile?
Besoin d'aide?

Vous n'avez pas trouvé votre réponse?

Ouvrir un ticket
Écosystème NHC : 🌐 NHC Hosting 🚀 NHC Portal 🖥️ NHC Panel 🔑 NHC Manager 📡 NHC Uptime 🛡️ NHC Security