letsencrypt
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
letsencrypt [2020/06/28 16:02] – [証明書の更新] nabezo | letsencrypt [2020/09/25 16:13] (現在) – nabezo | ||
---|---|---|---|
行 4: | 行 4: | ||
| | ||
===== 証明書作成 ===== | ===== 証明書作成 ===== | ||
+ | ==== サーバ証明書 ==== | ||
+ | sudo certbot certonly --webroot -d www.domain.com -w / | ||
+ | で自動的に証明書の作成とサーバの存在チェックが行われる | ||
+ | === 自動更新 === | ||
+ | sudo certbot renew --post-hook " | ||
+ | |||
+ | ==== ワイルドカード証明書 ==== | ||
ワイルドカード証明書 dns経由で取得 | ワイルドカード証明書 dns経由で取得 | ||
- | | + | certbot certonly --manual -d *.hoge.com \ |
+ | --email mail@maildomain.com \ | ||
+ | --agree-tos | ||
+ | --manual-public-ip-logging-ok | ||
+ | | ||
+ | --server https:// | ||
# | # | ||
letsencrypt.1593327759.txt.gz · 最終更新: 2020/06/28 16:02 by nabezo