Help us understand the problem. What is going on with this article?

WordPressをEC2のBitnamiを使ってSSL(https)する際に聞かれるメッセージの備忘録

BitnamiでWordpressを導入した場合、Let's EncryptのSSL証明書を取得するコマンドが事前に提供されており、SSHでサーバーに入って sudo /opt/bitnami/bncert-tool をたたけば一発OKです。

始めてコマンドを叩いたときは衝撃的だった。
本当に全部やってくれます。

ただ初めてやるときは何を聞かれるか(私はすごーく)不安なので、そのコマンド上のメッセージをメモ。ただそれだけです。きっとニーズはあるはず。

環境

記事投稿時のAmazon マシンイメージ (AMI)

WordPress Certified by Bitnami and Automattic
 (114)| 5.3-0 on Ubuntu 16.04 以前のバージョン | 担当 Bitnami
Linux/Unix, Ubuntu 16.04 | 64 ビット Amazon マシンイメージ (AMI) x86 | 更新済み: 2019/11/14

下記、そのやりとり。
英語に自身ないのでGoogle翻訳などで解釈ください。

質問: 1つ目

----------------------------------------------------------------------------
Welcome to the Bitnami HTTPS Configuration tool.
----------------------------------------------------------------------------
Domains

Please provide a valid space-separated list of domains for which you wish to 
configure your web server.

Domain list []: 

your-domain.com

(SSLしたいドメインを入力する)

質問: 2つ目

The following domains were not included: www.your-domain.com. Do you want to add them? [Y/n]: 

n

(wwwをつけるかは好みで)

質問: 3つ目

Warning: No www domains (e.g. www.example.com) or non-www domains (e.g. 
www.example.com) have been provided, so the following redirections will be 
disabled: non-www to www, www to non-www.
Press [Enter] to continue:

(Enterを押す)

質問: 4つ目

Enable HTTP to HTTPS redirection [Y/n]: 

Y

(httpへのアクセスはhttpsにリダイレクトを設定するか。)

質問: 5つ目

1. Stop web server
2. Configure web server to use a free Let's Encrypt certificate for the domains: your-domain.com
3. Configure a cron job to automatically renew the certificate each month
4. Configure web server name to: your-domain.com
5. Enable HTTP to HTTPS redirection (example: redirect http://your-domain.com to https://your-domain.com)
6. Start web server once all changes have been performed

Y

(1〜6を行うけど問題ないかの確認。cronまで設定してくれるっぽい)

質問: 6つ目

Please provide a valid e-mail address for which to associate your Let's Encrypt 
certificate.

Domain list: your-domain.com
Server name: your-domain.com

your-mail@mail.com

(自身のメアドを入力)

質問: 7つ目

The Let's Encrypt Subscriber Agreement can be found at:

https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf

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

Y

(同意しますか?)

質問: 8つ目

The configuration report is shown below.

Backup files:
* /opt/bitnami/apache2/conf/httpd.conf.back.201912031526
* /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf.back.201912031526
* /opt/bitnami/apache2/conf/bitnami/bitnami.conf.back.201912031526

Find more details in the log file:

/tmp/bncert-201912031526.log

If you find any issues, please check Bitnami Support forums at:

https://community.bitnami.com

Press [Enter] to continue:

(Enterを押す)

参考

おしまい!

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした