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

后端 未结 10 2044
-上瘾入骨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:49

    this is the best option to create .pem file

    openssl pkcs12 -in MyPushApp.p12 -out MyPushApp.pem -nodes -clcerts
    

提交回复
热议问题