Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
== 証明書の更新 == このやり方はあちこちに記述があるが、極めて簡単。 /etc/crontabに、 {{{ 00 05 05 * * root /opt/certbot/certbot-auto renew }}} とでも書けばよい(/opt/certbotにインストールした場合)。この例では一月に一度だけrenewするが、やりすぎてはいけないようだ。例えば毎日行うなど。 == 証明書の期限確認 == {{{ # /opt/certbot/certbot-auto certificates .... ------------------------------------------------------------------------------- Found the following certs: Certificate Name: www.sample.com Domains: www.sample.com Expiry Date: 2017-08-29 08:16:00+00:00 (VALID: 40 days) Certificate Path: /etc/letsencrypt/live/www.sample.com/fullchain.pem Private Key Path: /etc/letsencrypt/live/www.sample.com/privkey.pem ...... ------------------------------------------------------------------------------- }}} |
Let's Encrypt
証明書の更新
このやり方はあちこちに記述があるが、極めて簡単。 /etc/crontabに、
00 05 05 * * root /opt/certbot/certbot-auto renew
とでも書けばよい(/opt/certbotにインストールした場合)。この例では一月に一度だけrenewするが、やりすぎてはいけないようだ。例えば毎日行うなど。
証明書の期限確認
# /opt/certbot/certbot-auto certificates .... ------------------------------------------------------------------------------- Found the following certs: Certificate Name: www.sample.com Domains: www.sample.com Expiry Date: 2017-08-29 08:16:00+00:00 (VALID: 40 days) Certificate Path: /etc/letsencrypt/live/www.sample.com/fullchain.pem Private Key Path: /etc/letsencrypt/live/www.sample.com/privkey.pem ...... -------------------------------------------------------------------------------