#ssl
6 commande(s) avec le tag #ssl
Commandes partagées par la communauté CodeBox, copiables en un clic.
Apache
Obtenir un certificat SSL
Génère et installe un certificat SSL Let's Encrypt pour Apache.
sudo certbot --apache -d mon-site.com -d www.mon-site.com
Installe Certbot et son plugin Apache pour les certificats Let's Encrypt.
sudo apt install certbot python3-certbot-apache -y
Simule le renouvellement de tous les certificats Let's Encrypt.
sudo certbot renew --dry-run
Apache
Forcer le renouvellement SSL
Force le renouvellement de tous les certificats, même non expirés.
sudo certbot renew --force-renewal
Affiche tous les certificats Let's Encrypt gérés par Certbot.
sudo certbot certificates