【问题标题】:How can I extract the key.pem from the certificate in openssl?如何从 openssl 的证书中提取 key.pem?
【发布时间】:2021-08-31 22:59:07
【问题描述】:

我有证书,我想提取里面的密钥。 我不知道是否存在任何命令,我该怎么办。 谢谢你!

【问题讨论】:

标签: openssl


【解决方案1】:

openSSL 中从 Cert.pem 中提取 publicKey.pem 的命令如下:

openssl x509 -noout -pubkey -in [cerFile.pem] -out [myPubKeyFile.pem]

答案是下一个链接中的响应: extract the public key from the certificate.pem

【讨论】:

    猜你喜欢
    • 2016-12-25
    • 2016-08-31
    • 1970-01-01
    • 2010-10-08
    • 1970-01-01
    • 1970-01-01
    • 2016-03-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多