Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个.p12文件,我也可以转成.pem文件,但是怎么转成.key文件呢?
.p12
.pem
.key
openssl pkcs12 -in out.p12 -nodes -out private.key -nocerts
openssl 会要求你输入密码,然后将未加密的私钥存储到文件中private.key
private.key
文档:https ://www.openssl.org/docs/man1.1.0/apps/pkcs12.html