openssl x509 -in {{ 证书路径 }} -noout -text
openssl x509 -in {{ 证书路径 }} -noout -serial
openssl x509 -in {{ 证书路径 }} -noout -subject
# 生成私钥
openssl genrsa -out server.key 1024
# 生成证书
openssl req -new -x509 -days 3650 -key server.key -out server.crt -subj "/C=CN/ST=yourprovince/L=yourcity/O=yourorg/CN=yourdomain"