俺だよ俺、わかる?俺だよ?証明書更新

サーバーの俺俺証明書の更新期限が来たので、更新してみる。

前回は真剣に作ったが、所詮俺俺証明書なので、今回は適当に10年分くらいの証明書を作ってみた。

以下にそのログをば。

# openssl genrsa -des3 -out server.key 1024
Generating RSA private key, 1024 bit long modulus
......................++++++
.......................++++++
e is 65537 (0x10001)
Enter pass phrase for server.key:
Verifying - Enter pass phrase for server.key:

# openssl rsa -in server.key -out server.key
Enter pass phrase for server.key:
writing RSA key

# openssl req -new -key server.key -x509 -days 4000 -out server.crt
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.