Convert DER to PEM

Turn DER files into PEM. The certificate, certificate request or revocation list is read as it is.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DER files on the dialor turn it to pick what to do

Binary certificates as readable text.Each certificate, request or list becomes a PEM block with its bytes unchanged.

  1. What you get

    A PEM file with the contents of your DER, CER or CRL file as base64 text between BEGIN and END lines. This is the form web servers and most tools read and write.

    The bytes of each certificate, request or revocation list are not changed. Only the way they are written changes, from binary to text. When the source holds more than one, the blocks follow the order of the source.

    You get one file as the result.

  2. Keys are not taken

    A private key or a PKCS#12 file is not converted. The conversion stops with unsupported_elements. Keys are best converted on your own computer.

DER and PEM.What each format is.

The formats

From · DER

DER Certificate

One binary certificate, certificate request or revocation list, as Windows and Java export certificates as .cer or .der and certificate authorities publish revocation lists as .crl.

Extensions
.der .cer .crl
MIME type
application/x-x509-ca-cert
Kind
Text and data
To · PEM

PEM Certificate

Certificates, certificate requests and revocation lists as base64 text between -----BEGIN and -----END lines, the form web servers and most tools read and write.

Extensions
.pem .crt .csr
MIME type
application/x-pem-file
Kind
Text and data

In your code.The same DER to PEM conversion through the API, for your app or your agent.

terminal
$ cv convert report.der report.pem
$ cv convert report.der report.pem

Questions.What people ask about DER to PEM.

01OF 04

No. The bytes of each certificate, request or list stay unchanged. Only the written form changes, from binary to base64 text.

Yes. A revocation list in a .crl file becomes a PEM block like a certificate does.

No. A private key fails with unsupported_elements. Convert keys on your own computer.

A PKCS#12 file holds keys, and keys are not taken here. The conversion stops with unsupported_elements.

More conversions.Other ways in and out of DER and PEM.