Is it possible to convert an SSL certificate from a .key file to a .pfx?

前端 未结 4 1030
长情又很酷
长情又很酷 2020-12-01 02:58

is there a way to convert from a .key file to a .pfx file? thank you.

EDIT: I only have the .key file but my hosting provider says that I could convert it to .pfx wi

4条回答
  •  忘掉有多难
    2020-12-01 03:39

    You could try this
    https://www.sslshopper.com/ssl-converter.html

    openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
    

提交回复
热议问题