19. 2016/5/28 Let’s Encrypt更新話 (1)
file:///home/mk/ownCloud/Linux/kagolug/2016/2016-05-21/Let's%20Encrypt%E6%9B%B4%E6%96%B0%E8%A9%B1_slide.html#(1) 19/23
dry runで動作確認
$ sudo letsencrypt renew dryrun
Processing /etc/letsencrypt/renewal/kagolug.org.conf
** DRY RUN: simulating 'letsencrypt renew' close to cert expiry
** (The test certificates below have not been saved.)
Congratulations, all renewals succeeded. The following certs have
been renewed:
/etc/letsencrypt/live/kagolug.org/fullchain.pem (success)
** DRY RUN: simulating 'letsencrypt renew' close to cert expiry
** (The test certificates above have not been saved.)
IMPORTANT NOTES:
Your account credentials have been saved in your Let's Encrypt
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory
will
also contain certificates and private keys obtained by Let's
Encrypt so making regular backups of this folder is ideal.
22. 2016/5/28 Let’s Encrypt更新話 (1)
file:///home/mk/ownCloud/Linux/kagolug/2016/2016-05-21/Let's%20Encrypt%E6%9B%B4%E6%96%B0%E8%A9%B1_slide.html#(1) 22/23
自動更新に使えそうなrenew option
User Guide — Certbot 0.7.0.dev0 documentation
This will attempt to renew any previouslyobtained
certificates that expire in less than 30 days. The same plugin
and options that were used at the time the certificate was
originally issued will be used for the renewal attempt, unless
you specify other plugins or options.
renew オプションを付けてを実行すると利用期限を確認して30日を切っていたら更新
してくれる