-
生成私钥 openssl genrsa -out private.key 2048
-
生成证书请求 openssl req -new -key private.key -out cert.csr
-
创建自签名证书 openssl x509 -req -days 3650 -in cert.csr -signkey private.key -out cert.crt
-
将私钥和证书合并为PKCS12格式 openssl pkcs12 -export -in cert.crt -inkey private.key -out cert.p12
PKCS12证书生成完整步骤
最新推荐文章于 2024-05-14 10:24:11 发布