A book of spells for the discerning techcubus
$ openssl x509 -inform der -in certificate.cer -out certificate.pem
$ openssl x509 -outform der -in certificate.pem -out certificate.der