如何将 .p12 文件更改为 .key 文件 [英] How to change a .p12 file to .key file
本文介绍了如何将 .p12 文件更改为 .key 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个.p12
文件,我也可以把它转成.pem
文件,但是如何把它转成.key
> 文件?
I have a .p12
file, I can also transfer it to a .pem
file, but how to transfer it as a .key
file?
推荐答案
openssl pkcs12 -in out.p12 -nodes -out private.key -nocerts
openssl 会要求您输入密码,然后将未加密的私钥存储到文件 private.key
openssl will ask you for a password, then store the unencrypted private key into the file private.key
文档:https://www.openssl.org/docs/man1.1.0/apps/pkcs12.html
这篇关于如何将 .p12 文件更改为 .key 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文