
AWS Lambdaに入門した話
駆け出しアラサーSEが、休日にMACと戯れた際の殴り書きメモ。日々勉強。日々進歩。
以前の記事で、ssl-cert-checkを使って証明書の期限を確認したのだが、Let’s Encryptを使っているなら、もっと簡単なやり方があったので、メモ。
Let’s Encryptの期限をCLIで確認する
# certbot certificates
と打つだけ。
# certbot certificates Saving debug log to /var/log/letsencrypt/letsencrypt.log Attempting to parse the version 0.26.1 renewal configuration file found at /etc/letsencrypt/renewal/www.yoshi.net.conf with version 0.23.0 of Certbot. This might not work. ------------------------------------------------------------------------------- Found the following certs: Certificate Name: www.yoshi.net Domains: www.yoshi.net Expiry Date: 2018-10-27 05:54:35+00:00 (VALID: 89 days) Certificate Path: /etc/letsencrypt/live/www.yoshi.net/fullchain.pem Private Key Path: /etc/letsencrypt/live/www.yoshi.net/privkey.pem -------------------------------------------------------------------------------
参考:https://certbot.eff.org/docs/using.html#managing-certificates