ubuntu - 在 ubuntu 中将 .p12 转换为 .pem

标签 ubuntu openssl certificate

我正在尝试将我的 .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/

相关文章:

shell - 在 Makefile 中使用 shell 查找 Ubuntu 版本

java - 不能通过Eclipse启动Tomcat

Ruby OpenSSL 错误 - 缺少 CA 证书(Justin 是谁?)

wcf - WCF NetTCP 传输绑定(bind)的客户端证书

c++ - 当我尝试加载 cer 文件时 QSslCertificate 崩溃

certificate - 获取数字证书

python - sbin/start-stop-daemon 无法启动 python - ubuntu docker 容器

c++ - OpenSSL ssl_accept() 错误 5

java - 加密不适用于从 openssl 生成的 AES-256 key

ubuntu - 查找已安装 Ubuntu 的应用程序路径