LoginSignup
0
0

More than 3 years have passed since last update.

LightsailでWordPressのWebサイトを開設する

Last updated at Posted at 2020-10-21

Apache+mod_mdを使って、Let’s EncryptでのSSL化をしていたが、LightSailのBitnami上の環境だと、Bitnamiがもっと簡単なセットアップを用意してくれている。

SSHで接続した後、

sudo /opt/bitnami/bncert-tool

を実行。これだけ。聞かれるままに設定して終わり。やばい。はやい。

Domain list []:
はドメインのリストを聞いているので、一つであれば、
Domain list []:sample.com
でリターン。

あとは、自分に合わせた設定でOK. ちなみに私は
HTTP to HTTPS redirection [Y/n]:n
non-www to www redirection [Y/n]:n
www to non-www redirection [y/N]:n

Do you agree to these changes? [Y/n]: Y
Do you agree to the Let’s Encrypt Subscriber Agreement? [Y/n]: Y

Successが出れば無事に終了。
ブラウザーでhttps://sample.comを開いて、証明書を確認。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0