I have a .cer certificate and I would like to convert it in .pem format.

If I remember correctly in the past (6 years ago), I have converted them simply exporting the .cer in Base64, and renaming it in .pem .

How to I convert it from .cer to .pem?

link|improve this question
feedback

1 Answer

up vote 3 down vote accepted

Convert a DER file (.crt .cer .der) to PEM

openssl x509 -inform der -in certificate.cer -out certificate.pem

Source

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.