serverapps:security:cert:acmesh:letsencrypt
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:security:cert:acmesh:letsencrypt [2024/12/09 08:52] – hayashi | serverapps:security:cert:acmesh:letsencrypt [2025/04/21 11:26] (現在) – [レジスト] admin | ||
---|---|---|---|
行 18: | 行 18: | ||
===== レジスト ===== | ===== レジスト ===== | ||
+ | |||
+ | # acme.sh --register-account -m yourname@example.com --server letsencrypt_test | ||
# acme.sh --register-account -m yourname@example.com | # acme.sh --register-account -m yourname@example.com | ||
- | [...... 2022] Registering account: https:// | + | |
+ | | ||
[...... 2022] Registered | [...... 2022] Registered | ||
[...... 2022] ACCOUNT_THUMBPRINT=' | [...... 2022] ACCOUNT_THUMBPRINT=' | ||
行 26: | 行 29: | ||
==== webroot ディレクトリの作成 ==== | ==== webroot ディレクトリの作成 ==== | ||
- | mkdir -p / | + | mkdir -p / |
chown -R www:www / | chown -R www:www / | ||
行 34: | 行 37: | ||
<file config / | <file config / | ||
location / | location / | ||
- | alias / | + | alias / |
} | } | ||
</ | </ | ||
行 53: | 行 56: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | === domainが複数の場合の例 === | ||
+ | |||
+ | server_name 1.mydomain.com 2.mydomain.com 3.mydomain.com; | ||
+ | または | ||
+ | server_name *.mydomain.com *.testmydomain.com; | ||
===== 証明書発行 ===== | ===== 証明書発行 ===== | ||
serverapps/security/cert/acmesh/letsencrypt.1733734332.txt.gz · 最終更新: 2024/12/09 08:52 by hayashi