This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basically there are two CER certificate encoding types, DER and Base64. When type DER returns an error loading certificate (asn1 encoding routines), try the PEM and it shall work. | |
openssl x509 -inform DER -in certificate.cer -out certificate.crt | |
openssl x509 -inform PEM -in certificate.cer -out certificate.crt |