How to convert a .cer to .pem format

OpenSSL

The following OpenSSL command will convert a .cer file to .pem format.

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



avatar

About the Author: TekFik

TekFik is a technical blogging site helps techies and engineers to solve their day to day issues and also allows everyone to share knowledge and feedback. Please feel free to contact us at tekfik.rd@gmail.com if there is anything.

Leave a Reply

Your email address will not be published. Required fields are marked *