証明書の一覧
# certbot certificates
例)
# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate Name: test.sho-kun.com
Domains: test.sho-kun.com
Expiry Date: 2019-12-19 09:48:35+00:00 (VALID: 86 days)
Certificate Path: /etc/letsencrypt/live/test.sho-kun.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/test.sho-kun.com/privkey.pem
証明書の削除
certbot delete --cert-name [証明書ファイル名]
例)
sudo certbot delete --cert-name test.sho-kun.com
# sudo certbot delete --cert-name test.sho-kun.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Deleted all files relating to certificate test.sho-kun.com.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -