Convert P7B to DER

Turn P7B files into DER files. 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

One file per certificate, bytes unchanged.A P7B bundle is split into separate DER files, one for each certificate, request or list.

  1. What you get

    Each certificate, request and revocation list in the P7B becomes its own DER file. The bytes of each item are unchanged.

    When the bundle holds several items, the files are numbered in the order of the source. A bundle with a single item gives a single file.

  2. What changes

    The container changes. A P7B holds many items together in one file, while a DER file holds one. So a whole chain exported from Windows or Java comes out as separate files instead of one.

    Because the bytes are not changed, the content of each certificate or list is the same as it was in the bundle.

P7B and DER.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 · 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

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

terminal
$ cv convert report.p7b report/ --to der
$ cv convert report.p7b report/ --to der

Questions.What people ask about P7B to DER.

01OF 04

No. Each certificate, request and list keeps its bytes unchanged. Only the file around it is different.

DER holds one item per file. A P7B with a chain or revocation lists is split into one file for each item.

The files are numbered in the order of the source. The first item in the P7B is the first file.

Yes. Each revocation list in the bundle becomes its own DER file, the same as each certificate and request.

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