How to get .pem file from .key and .crt files?

后端 未结 10 2043
-上瘾入骨i
-上瘾入骨i 2020-11-22 10:06

How can I create a PEM file from an SSL certificate?

These are the files that I have available:

  • .crt
  • server.csr
10条回答
  •  礼貌的吻别
    2020-11-22 10:41

    Additionally, if you don't want it to ask for a passphrase, then need to run the following command:

    openssl rsa -in server.key -out server.key
    

提交回复
热议问题