操作
SSL更新方法¶
LetsEncryptで、サブドメインをワイルドカードで取得
- SSHでログイン
- ルートユーザーで以下のコマンドを実行
certbot certonly --manual --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges dns -d *.pickbox.online -d pickbox.online -m info@pickbox.online --agree-tos --manual-public-ip-logging-ok
- 表示されたレコードの情報を、お名前.comでドメインに設定する(2回設定する)
- letsEncryptの処理が終わったら、nginxをリロードして設定反映させる
systemctl reload nginx