Let’s Encrypt – Mémos des commandes

Auteur : Vince Nadus
Date de publication : 18 juin 2019

Visualiser le status des certificats

certbot certificates Étendre le certificat :

certbot –expand -d existing.com,example.com,newdomain.com Changer le domaine du certificat :

certbot certonly --cert-name example.com -d example.org,www.example.org

Révoquer un certificat non expiré :

certbot revoke –cert-name sub.domain.com

Saving debug log to /var/log/letsencrypt/letsencrypt.log

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Would you like to delete the cert(s) you just revoked? – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – (Y)es (recommended)/(N)o: Y

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Deleted all files relating to certificate test.loina.wf. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Congratulations! You have successfully revoked the certificate that was located at /etc/letsencrypt/live/test.loina.wf/fullchain.pem

Il propose de supprimer le certificat:

Répondre Yes Supprimer un certificat :

certbot delete –cert-name sub.domain.com

Sinon un petit

certbot –help all

permettra de voir toutes les commande relative à Certbot.