Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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

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

Source

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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