Convert P7B to TXT

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

Every certificate in a bundle, as text.Each certificate, request and list is printed in the layout certificate tools use.

  1. What you get

    One TXT file that holds everything in the P7B bundle. Each certificate, request and revocation list is printed in the usual text layout of certificate tools.

    A line with its SHA-256 fingerprint comes first, and the printout follows it. It shows the version, serial, names in UTF-8, validity, public key, extensions and signature.

  2. Large bundles

    A bundle with more than 1000 certificates, requests and lists fails with resource_limit. The conversion stops and no TXT file is made.

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

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

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

terminal
$ cv convert report.p7b report.txt
$ cv convert report.p7b report.txt

Questions.What people ask about P7B to TXT.

01OF 04

Yes. The output is one file, and every certificate in the bundle is printed in it, each after its own SHA-256 fingerprint line.

The version, serial, names in UTF-8, validity, public key, extensions and signature. A line with the SHA-256 fingerprint comes before them.

Yes. P7B and P7C are listed as extensions of the same format, so both are read the same way.

The file holds more than 1000 certificates, requests and lists together. The conversion stops with resource_limit at that point.

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