certificate.cer
When I use cat command to read certificate.cer in my Linux RH server. It come out with those unknown symbol as mentioned in attached picture instead of human readable language such as:
-----BEGIN CERTICATE-----
uiocudcnysyndw77e3fo7nfdslaccu...
-----END CERTIFICATE-----
This is because CER (or BER or DER) and PEM are different formats. PEM is base64-encoded DER with extra header/footer.
To convert between the former and PEM, use openssl
:
openssl x509 -inform der -in certificate.cer -out certificate.pem