Skip to content
Testaroo
p122.7 KB

PKCS#12 Bundle (.p12)

A PKCS#12 (.p12/PFX) bundle packaging the sample RSA key and certificate together, protected with the sample password 'novus-sample', for testing keystore importers and PKCS#12 parsers. (The PKCS#12 MAC salt is random, so this file is intentionally not byte-stable.)

Preview: schema + first 5 rowsp12
FieldValue
TypePKCS#12 / PFX bundle (binary)
ContainsRSA 2048 private key + X.509 certificate
Friendly namenovus-sample
Passwordnovus-sample (sample-only)
EncryptionPBE (per-file random salt)
Password is published above: sample material only.

Specifications

Format
PKCS#12 (PFX)
Contains
RSA key + certificate
Password
novus-sample
Byte Stable
false
Sample Only
true

Testing contract

Expected to pass
Scenario
Exercise PKCS#12 Bundle (.p12) in its security workflow. A PKCS#12 (.p12/PFX) bundle packaging the sample RSA key and certificate together, protected with the sample password 'novus-sample', for testing keystore importers and PKCS#12 parsers.
Expected result
private key present=True; leaf certificate present=True; additional certificates=0; certificate subject=CN=sample.example,O=Novus Examples (Sample),C=US. Declared feature checks: contains=RSA key + certificate; password=novus-sample; byteStable=False.

What is a .p12 file?

A .p12 file is a PKCS#12 (PFX) bundle: a password-protected binary archive that packages a certificate together with its private key (and optionally a chain) in one importable file. It is the standard way to move a complete TLS or client identity between systems.

How to use this file

Use an example .p12 to test PKCS#12 parsers and importers, keystore tooling, and password-protected bundle handling. The sample password is documented on the file's page; this is published sample material, not a real identity.

How to use this file for testing

“PKCS#12 Bundle (.p12)” is a deterministic Testaroo fixture for Certificate & key testing. Self-signed X.509 certificates (PEM, CRT, DER), a CSR, RSA and Ed25519 keys, an SSH public key, a PKCS#12 bundle, and an htpasswd file, all published sample-only material, for testing certificate parsers, TLS tooling, keystore importers, and PEM/DER decoders.

Documented properties for this file: PKCS#12 (PFX). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

This is a published, sample-only certificate/key. Parse it, verify the chain or signature, and test PEM↔DER conversion, never deploy it anywhere real.

Generated by generation/pki_security.py. Free for any use, no attribution required, license.