Convert PEM to P7B

Turn PEM files into P7B. Every CERTIFICATE, CERTIFICATE REQUEST, X509 CRL and PKCS7 block is read in its order, and text around the blocks is skipped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Certificates gathered into one bundle.Your certificates and revocation lists go into a single P7B file.

  1. What you get

    One P7B file in DER PKCS#7 form. The certificates and revocation lists from the PEM file are placed inside it.

    Their bytes are unchanged and they stay in their original order. A whole chain in one PEM file stays a chain in the bundle.

  2. What fails

    A file that holds a private key stops with unsupported_elements. Keys are not taken here, and they are best converted on your own computer.

    A certificate request also stops with unsupported_elements. A P7B bundle cannot hold a request, so a file with one cannot be converted.

PEM and P7B.What each format is.

The formats

From · 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
To · P7B

PKCS#7 Certificate Bundle

Several certificates, often a whole chain, and revocation lists together in one PKCS#7 file, as Windows and Java export them.

Extensions
.p7b .p7c
MIME type
application/x-pkcs7-certificates
Kind
Text and data

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

terminal
$ cv convert report.pem report.p7b
$ cv convert report.pem report.p7b

Questions.What people ask about PEM to P7B.

01OF 04

No. Each certificate and revocation list goes into the bundle with its bytes unchanged and in its original order.

No. The conversion stops with unsupported_elements. Convert files with keys on your own computer.

No. A bundle cannot hold a certificate request, so the conversion stops with unsupported_elements.

Yes. Revocation lists go into the bundle along with the certificates, with their bytes unchanged.

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