Convert CER to PEM

From Bonus Bits
Jump to: navigation, search


This article gives the steps to convert a certificate.cer file to a certificate.pem format on Linux or Mac OSX using openssl client.


  • openssl


  1. Browse to location of certificate.cer file in CLI
  2. Use openssl to convert to pem format
    openssl x509 -inform der -in certificate.cer -outform pem -out certificate.pem

Related Articles