create a pfx file from a .cer and a .pem file

后端 未结 1 1829
Happy的楠姐
Happy的楠姐 2020-12-05 19:03

I have used openssl to create a .key and .cer file in pem format (you can read them). Now I want to create .pfx file from them. I have read openssl doumentation it says some

1条回答
  •  借酒劲吻你
    2020-12-05 20:02

    The certificate.cer is your public key and the CACert.cer file (as it names suggest) is the public key of a CA (maybe the one who has signed your certificate).

    The -in switch specifies input certificate to embed in output file

    The -inkey switch specifies the key file you've generated using OpenSSL

    The -out switch tells the openssl your desired name for output file

    The -certfile is used to specify additional certificates to add to the output pfx file (it could be ignored)

    0 讨论(0)
提交回复
热议问题