差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
linux:certbot_client [2023/03/01 11:59] – [既に取得済みの証明書にサブドメインを追加] ともやん | linux:certbot_client [2023/06/01 06:23] – [Fedora 29 でのインストール] ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
====== Certbot クライアント ====== | ====== Certbot クライアント ====== | ||
- | ===== Fedora | + | ===== Fedora でのインストール ===== |
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
行 196: | 行 196: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | $ sudo certbot certonly --force-renew --webroot -w / | + | <b class=GRN> |
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
Saving debug log to / | Saving debug log to / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | An RSA certificate named monsters-g.com already exists. Do you want to update | ||
+ | its key type to ECDSA? | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | (U)pdate key type/(K)eep existing key type: u | ||
Renewing an existing certificate for monsters-g.com and 2 more domains | Renewing an existing certificate for monsters-g.com and 2 more domains | ||
行 205: | 行 210: | ||
Certificate is saved at: / | Certificate is saved at: / | ||
Key is saved at: / | Key is saved at: / | ||
- | This certificate expires on 2023-05-29. | + | This certificate expires on 2023-07-02. |
These files will be updated when the certificate renews. | These files will be updated when the certificate renews. | ||
Certbot has set up a scheduled task to automatically renew this certificate in the background. | Certbot has set up a scheduled task to automatically renew this certificate in the background. | ||
行 218: | 行 223: | ||
Apache の場合は、新しく取得した証明書を有効化する為にリロードする🤔\\ | Apache の場合は、新しく取得した証明書を有効化する為にリロードする🤔\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== 証明書更新テストの実行 ===== | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | $ sudo certbot renew --dry-run | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Saving debug log to / | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Processing / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Simulating renewal of an existing certificate for monsters-g.com and www.monsters-g.com | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Processing / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Simulating renewal of an existing certificate for tomoyan.net and 3 more domains | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Congratulations, | ||
+ | / | ||
+ | / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== 証明書更新の実行 ===== | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | $ sudo certbot renew | ||
+ | </ | ||
+ | <WRAP color_result_long>< | ||
+ | Saving debug log to / | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Processing / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Cert is due for renewal, auto-renewing... | ||
+ | Plugins selected: Authenticator webroot, Installer None | ||
+ | Renewing an existing certificate | ||
+ | Performing the following challenges: | ||
+ | http-01 challenge for monsters-g.com | ||
+ | http-01 challenge for www.monsters-g.com | ||
+ | Waiting for verification... | ||
+ | Cleaning up challenges | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | new certificate deployed without reload, fullchain is | ||
+ | / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Processing / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | Cert is due for renewal, auto-renewing... | ||
+ | Plugins selected: Authenticator webroot, Installer None | ||
+ | Renewing an existing certificate | ||
+ | Performing the following challenges: | ||
+ | http-01 challenge for redmine.tomoyan.net | ||
+ | http-01 challenge for repos.tomoyan.net | ||
+ | http-01 challenge for tomoyan.net | ||
+ | http-01 challenge for www.tomoyan.net | ||
+ | Waiting for verification... | ||
+ | Cleaning up challenges | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | new certificate deployed without reload, fullchain is | ||
+ | / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | |||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | |||
+ | Congratulations, | ||
+ | / | ||
+ | / | ||
+ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 新しい証明書を反映させるために、Apache をリロードする😉\\ | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
行 223: | 行 314: | ||
</ | </ | ||
</ | </ | ||
+ | |||