Lets Encrypt » 履歴 » バージョン 2
sylow castle, 2019/07/03 15:15
| 1 | 1 | sylow castle | # Lets Encrypt |
|---|---|---|---|
| 2 | |||
| 3 | ## 概要 |
||
| 4 | |||
| 5 | 無料のSSL証明書を発行してくれるサービス+エージェントプログラム。 |
||
| 6 | CSRの作成などもこちらでやらなくていい。ただし、証明書の期間は短いため注意。 |
||
| 7 | |||
| 8 | 公式ページ:https://letsencrypt.jp/ |
||
| 9 | |||
| 10 | ## 導入 |
||
| 11 | |||
| 12 | 忘れた。公式ページ見てそのままやった記憶。 |
||
| 13 | DNSの設定で行けたような記憶。 |
||
| 14 | |||
| 15 | ## 更新 |
||
| 16 | |||
| 17 | 期限が近くなってくるとメールが飛んでくる。 |
||
| 18 | 2 | sylow castle | certbot renewコマンドをたたくことで更新してもらう。 |
| 19 | crontabとかで毎週叩くようにしておくと楽。 |
||
| 20 | 1 | sylow castle | |
| 21 | ~~~ |
||
| 22 | # certbot renew |
||
| 23 | Saving debug log to /var/log/letsencrypt/letsencrypt.log |
||
| 24 | |||
| 25 | ------------------------------------------------------------------------------- |
||
| 26 | Processing /etc/letsencrypt/renewal/www.sylow-castle.work.conf |
||
| 27 | ------------------------------------------------------------------------------- |
||
| 28 | Cert is due for renewal, auto-renewing... |
||
| 29 | Plugins selected: Authenticator webroot, Installer None |
||
| 30 | Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org |
||
| 31 | Renewing an existing certificate |
||
| 32 | Performing the following challenges: |
||
| 33 | http-01 challenge for www.sylow-castle.work |
||
| 34 | Waiting for verification... |
||
| 35 | Cleaning up challenges |
||
| 36 | |||
| 37 | ------------------------------------------------------------------------------- |
||
| 38 | new certificate deployed without reload, fullchain is |
||
| 39 | /etc/letsencrypt/live/www.sylow-castle.work/fullchain.pem |
||
| 40 | ------------------------------------------------------------------------------- |
||
| 41 | |||
| 42 | ------------------------------------------------------------------------------- |
||
| 43 | |||
| 44 | Congratulations, all renewals succeeded. The following certs have been renewed: |
||
| 45 | /etc/letsencrypt/live/www.sylow-castle.work/fullchain.pem (success) |
||
| 46 | ------------------------------------------------------------------------------- |
||
| 47 | |||
| 48 | ~~~ |