2. STEP 1 - CSRを作成する
このステップは、環境に依存せず共通です。 LINUX サーバーにログインして、下記のコマンドを実行して、CSR を作ります。 openssl req -new -newkey rsa:2048 -nodes -keyout manualkun_com_20170801.key -out manualkun_com_20170801.csr |
コマンドに入っているもののうち、下記はマニュアルくん用です。あとで判別ができるよう適当な名前に変更してください。 manualkun_com_20170801.key manualkun_com_20170801.csr コマンドを実行すると、下記のような入力をすることになります。 各設定内容は、サーバーの設定になりますので、適宜変更してください。 |
...................+++ ...................................................................+++ writing new private key to 'mgr_manualkun_com_20170801.key' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. |
What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- |
Country Name (2 letter code) [XX]:JP State or Province Name (full name) []:Tokyo Locality Name (eg, city) [Default City]:Chiyoda Organization Name (eg, company) [Default Company Ltd]:********* Ltd. Organizational Unit Name (eg, section) []: Common Name (eg, your name or your server's hostname) []:*********.com Email Address []:***** |
Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: |
Country Name (2 letter code) [XX]: 日本の場合、JPを入力します。 State or Province Name (full name) []: 東京の場合、Tokyo を入力します。 Locality Name (eg, city) [Default City]: 千代田区の場合、Chiyoda を入力します。 |
Organization Name (eg, company) [Default Company Ltd]: 会社名を英語で入力します。 Organizational Unit Name (eg, section) []: 部署名を英語で記述します。入力は省略できます。 Common Name (eg, your name or your server's hostname) []: ドメイン名(ホスト名)を入力します。 例) seaful.com/manualkun Email Address []: メールアドレスを入力します。 |
A challenge password []: パスワードですが、設定しません。 An optional company name []: オプションの会社名ですが、設定しません。 |