【发布时间】:2021-08-31 22:59:07
【问题描述】:
我有证书,我想提取里面的密钥。 我不知道是否存在任何命令,我该怎么办。 谢谢你!
【问题讨论】:
-
您可以按照markbrilman.nl/2011/08/…中解释的步骤从pfx中提取密钥和证书文件。
标签: openssl
我有证书,我想提取里面的密钥。 我不知道是否存在任何命令,我该怎么办。 谢谢你!
【问题讨论】:
标签: openssl
openSSL 中从 Cert.pem 中提取 publicKey.pem 的命令如下:
openssl x509 -noout -pubkey -in [cerFile.pem] -out [myPubKeyFile.pem]
答案是下一个链接中的响应: extract the public key from the certificate.pem
【讨论】: