unix:linux:letsencrypt
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| unix:linux:letsencrypt [2026/03/21 12:43] – [更新] editor | unix:linux:letsencrypt [2026/03/21 12:47] (現在) – editor | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== Lets Encrypt ====== | ||
| + | ===== インストール ===== | ||
| < | < | ||
| sudo apt-get install letsencrypt | sudo apt-get install letsencrypt | ||
| 行 5: | 行 7: | ||
| </ | </ | ||
| - | < | + | ===== 設定 ===== |
| - | sudo letsencrypt certonly --standalone -d ownDomainName | + | |
| - | </ | + | |
| - | + | ||
| - | < | + | |
| - | sudo apt install certbot python3-certbot-apache | + | |
| - | sudo apt install libapache2-mod-ssl | + | |
| - | </ | + | |
| < | < | ||
| sudo certbot certonly \ | sudo certbot certonly \ | ||
| 行 32: | 行 26: | ||
| ===== 更新 ===== | ===== 更新 ===== | ||
| 80 番 port でアクセスできるようにする。 | 80 番 port でアクセスできるようにする。 | ||
| - | 443 port に redirect していると失敗する | + | 443 port に redirect していると失敗する。 |
| + | まずは、" | ||
| < | < | ||
| certbot renew --dry-run | certbot renew --dry-run | ||
| </ | </ | ||
| + | エラーがなければ、 | ||
| + | < | ||
| + | certbot renew | ||
| + | </ | ||
| ==== エラーが生じた場合 ==== | ==== エラーが生じた場合 ==== | ||
| / | / | ||
unix/linux/letsencrypt.1774097021.txt.gz · 最終更新: by editor
