Convert P7B to PEM

Turn P7B files into PEM. Every certificate and revocation list of the PKCS#7 bundle is read in its order, from DER or PEM, and a signature or signed content in the bundle is left out.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A PEM file from your P7B bundle.Every certificate, request and list comes out as its own PEM block.

  1. What you get

    One PEM file with the contents of the P7B bundle as base64 text between -----BEGIN and -----END lines. This is the form web servers and most tools read and write.

    Each certificate, request and list becomes a PEM block with its bytes unchanged. The blocks follow the order of the source, so a chain keeps the order it had in the bundle.

  2. What changes

    The container changes. A P7B file wraps several items together as PKCS#7, and the PEM file holds them as plain text blocks one after another. The bytes of each certificate, request and list are not altered.

    All blocks go into one file, not one file per certificate.

P7B and PEM.What each format is.

The formats

From · 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
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 P7B to PEM conversion through the API, for your app or your agent.

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

Questions.What people ask about P7B to PEM.

01OF 04

No. Each block keeps the bytes of its source item. Only the wrapping around them changes.

Yes. Each certificate in the bundle becomes a block, in the order it has in the source.

One file. All certificates, requests and lists from the bundle are in the same PEM file.

Yes. P7C is listed as an extension of the P7B format, so files with either extension are read as P7B.

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