Letsencrypt SSL証明書の更新(2021/2/15実施)
February 15, 2021 – 3:45 pmLetsencrypt SSL証明書の有効期限がひと月を切ったので更新作業を実施した。
以下、更新時のログをアップ:
[root@server02 letsencrypt]# certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d *.yamasnet.com -d yamasnet.com Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator certbot-plugin-gandi:dns, Installer None Cert is due for renewal, auto-renewing... Renewing an existing certificate Performing the following challenges: dns-01 challenge for yamasnet.com dns-01 challenge for yamasnet.com Waiting 10 seconds for DNS changes to propagate Waiting for verification... Cleaning up challenges IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/yamasnet.com/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/yamasnet.com/privkey.pem Your cert will expire on 2021-05-16. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
上記変更を反映するため、httpdをrestart:
[root@server02 letsencrypt]# systemctl restart httpd
証明書情報の有効期間を確認:
更新後の有効期間は、2021/02/15 から 2021/05/16