openssl genrsa -out <keyname> <key_length>
openssl req -new -key <keyname> -out <csr_file>
PEM形式の場合
openssl x509 -text -noout -in <crt_file>
DER形式の場合
openssl x509 -text -noout -inform der -in <crt_file>
openssl x509 -in <crt_file> -noout -dates
openssl rsa -text -noout -in <key_file>
openssl req -text -noout -in <csr_file>
openssl genrsa -out server.key 2048 openssl req -new -key server.key -out server.csr openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt