How to convert .pem into .key?

前端 未结 6 1217
梦如初夏
梦如初夏 2021-01-30 01:38

I already have purchased SSL certificate and i have received certificate and a .pem file as a private key? from the supplier; now i need to convert this .pem key into .key for b

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-30 02:13

    just as a .crt file is in .pem format, a .key file is also stored in .pem format. Assuming that the cert is the only thing in the .crt file (there may be root certs in there), you can just change the name to .pem. The same goes for a .key file. Which means of course that you can rename the .pem file to .key.

    Which makes gtrig's answer the correct one. I just thought I'd explain why.

提交回复
热议问题