Open NightBreezeCQ opened 3 months ago
查看所有信息 openssl pkcs12 -info -in cert.p12 -nodes
导出证书 openssl pkcs12 -in cert.p12 -out cert.pem -nokeys
导出秘钥 openssl pkcs12 -in cert.p12 -out private_key.pem -nodes -nocerts
查看证书序列号 openssl x509 -in cert.pem -noout -serial
这个地方会误导新人了,应该是用 "/" 开头才不会报签名错误
使用的命令生成的公钥和私钥
查看所有信息 openssl pkcs12 -info -in cert.p12 -nodes
导出证书 openssl pkcs12 -in cert.p12 -out cert.pem -nokeys
导出秘钥 openssl pkcs12 -in cert.p12 -out private_key.pem -nodes -nocerts
查看证书序列号 openssl x509 -in cert.pem -noout -serial