Convert certificate from DER to PEM

Convert certificate in DER binary encoding to PEM format (base64)

Authored by: Petr Stepan (Deworn)
Brought to you by Warp, a free terminal reimagined to work like a modern app.
in_der_cert
out_pem_cert

Command
Copy
openssl x509 -inform der -outform pem -in in_cert.der -out out_cert.pem
Tags