プロジェクト

全般

プロフィール

操作

SSL更新方法

LetsEncryptで、サブドメインをワイルドカードで取得

  1. SSHでログイン
  2. ルートユーザーで以下のコマンドを実行
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
  1. 表示されたレコードの情報を、お名前.comでドメインに設定する(2回設定する)
  2. letsEncryptの処理が終わったら、nginxをリロードして設定反映させる
systemctl reload nginx

廣瀬 僚一 さんが2年以上前に更新 · 1件の履歴