SSLの証明書が、まもなく期限切れなので、更新を実施。
openssl genrsa コマンドを 入力して、作成する。
最後にパスフレーズを聞かれるので、同じパスフレーズを2回入力する。
# openssl genrsa -des3 -out server.key
Generating RSA private key, 2048 bit long modulus
………………………………………………………………………………….+++
………………………………………+++
e is 65537 (0x10001)
Enter pass phrase for server.key: PassWord
Verifying – Enter pass phrase for server.key: PassWord
つづいて、csr を作成
# openssl req -new -key server.key -out ssl_example_jp.csr
Enter pass phrase for secure.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.
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) [AU]: JP
State or Province Name (full name) [Some-State]: Kyoto
Locality Name (eg, city) []: Kyoto
Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organation name
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []: ssl.example.jp
Email Address []: webmaster@example.jpPlease enter the following ‘extra’ attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
出来た CSR を添付して、申し込む。
SSL証明書の更新申請が通ると CRTが、送られてきます。