如何从 openssl 中的证书中提取 key.pem?
How can I extract the key.pem from the certificate in openssl?
我有证书,我想提取里面的密钥。
我不知道是否存在任何命令我该怎么做。
谢谢!
openSSL 中提取 publicKey.pem 形式 Cert.pem 的命令如下:
openssl x509 -noout -pubkey -in [cerFile.pem] -out [myPubKeyFile.pem]
答案是下一个 link 中的回复:
extract the public key from the certificate.pem
我有证书,我想提取里面的密钥。 我不知道是否存在任何命令我该怎么做。 谢谢!
openSSL 中提取 publicKey.pem 形式 Cert.pem 的命令如下:
openssl x509 -noout -pubkey -in [cerFile.pem] -out [myPubKeyFile.pem]
答案是下一个 link 中的回复: extract the public key from the certificate.pem