# CSRを生成するフォルダに移動(フォルダは事前に作成しておく)
/Users/jba_mn2000002/Desktop/csr
# 秘密鍵を作成(以下ファイル名はsample2022として作成)
openssl genrsa -des3 -out sample2022.key.org 2048
Enter pass phrase for sample2022.key.org: (任意のパスフレーズを入力)
Verifying - Enter pass phrase for sample2022.key.org: (上記と同じものを入力)
openssl rsa -in sample2022.key.org -out sample2022.key
Enter pass phrase for sample2022.key.org: (設定したパスフレーズを入力)
openssl req -new -key sample2022.key -out sample2022.csr
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.
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.