How to convert .pem into .key?

前端 未结 6 1218
梦如初夏
梦如初夏 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:12

    I assume you want the DER encoded version of your PEM private key.

    openssl rsa -outform der -in private.pem -out private.key
    

提交回复
热议问题