How to change a .p12 file to .key file

旧城冷巷雨未停 提交于 2020-02-26 09:05:11

问题


I have a .p12 file, I can also transfer it to a .pem file, but how to transfer it as a .key file?


回答1:


openssl pkcs12 -in out.p12 -nodes -out private.key -nocerts

openssl will ask you for a password, then store the unencrypted private key into the file private.key

Documentation: https://www.openssl.org/docs/man1.1.0/apps/pkcs12.html



来源:https://stackoverflow.com/questions/16075846/how-to-change-a-p12-file-to-key-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!