如何通过提供公钥文件作为输入来生成csr?

时间:2016-12-09 12:37:41

标签: openssl

在调查google使用openssl生成csr时,其提供的命令可以自动生成新的rsa:2048 publickey。

我的要求是需要通过提供公钥作为输入来生成csr。

有人建议我。

1 个答案:

答案 0 :(得分:0)

"CSRs are signed using the private key to prevent tampering in transit to the CA. Accordingly, you need the private key to create one."

How can I create a Certificate Service Request (CSR) from and existing public key of a key pair (assume the private key is in a safe spot elsewhere)?