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

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

    • Open terminal.
    • Go to the folder where your certificate is located.
    • Execute below command by replacing name with your certificate.

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

    • Hope it will work!!

提交回复
热议问题