Convert P7B to JSON
Turn P7B files into JSON. 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
Certificates as JSON you can read.Each certificate, request and revocation list in the bundle becomes one object in a single array.
What you get
One JSON file with an array. Every certificate, request and list in the P7B file has its own object, and each object states its kind.
A certificate's object gives its subject or issuer, serial, validity, signature algorithm, public key type and size, alternative names and extensions. It also gives the SHA-256 and SHA-1 fingerprints.
Revocation lists
A revocation list gets an object too. It gives every revoked serial with its date and reason.
Working with the result
The output is plain JSON, so a script or an API can read it without a certificate tool. To combine the output with other JSON files, use merge JSON. For other targets, see every JSON conversion.
P7B and JSON.What each format is.
The formats
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
JSON
JSON, the data format of every API.
- Extensions
- .json
- MIME type
- application
/json - Kind
- Text and data
In your code.The same P7B to JSON conversion through the API, for your app or your agent.
$ cv convert report.p7b report.json$ cv convert report.p7b report.jsonQuestions.What people ask about P7B to JSON.
Yes. The array holds an object for each certificate in the bundle, so a chain gives several objects.
Yes. Each certificate has its SHA-256 and SHA-1 fingerprints.
Each list becomes an object that gives every revoked serial with its date and reason.
One file. All the objects sit together in a single JSON array.