我正在尝试将我的 .p12 证书转换为 .pem。我从 Firefox 中导出它并将其放在我的 Ubuntu 桌面上。现在我尝试运行以下命令。
openssl pkcs12 -in MyCertificate.p12 -out newfile.pem
我收到一条错误消息,指出无法打开 MyCertificate.p12 进行读取,不是这样的文件或目录。
为什么它在桌面上不是文件?
最佳答案
您可以使用转换它
keystore 浏览器
从这里下载并安装 keystore 资源管理器
Link
Open keystore explorer -> Goto files -> open -> select the .p12 file
它将提示输入密码(如果没有密码,请按 Enter)
Rightclick on the keystore goto export -> export key pair -> it will prompt for password (if there is no password just hit Enter)
check the PEM format click export
关于ubuntu - 在 ubuntu 中将 .p12 转换为 .pem,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57934808/