.P7C

P7C File

PKCS#7 Certificate File
Ask a question
QUICK ANSWER

A P7C file is a PKCS#7 certificate bundle containing one or more digital certificates (public keys only, no private key). On Windows, double-click to open the Certificate Import Wizard. On Mac, double-click to import into Keychain Access. It is not a document and cannot be opened in a PDF viewer or text editor.

Developer: RSA Laboratories (PKCS standard); standardized by IETF as RFC 2315 → RFC 5652 (CMS) Category: Encoded Files Open standard MIME: application/pkcs7-mime
OPENS ON Windows macOS Linux
Related: .CRYPT · .SDOC · .AXX · .REM

On this page

19k+ extensions indexed
Last reviewed Jun 28, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the P7C file format?

A .p7c file is a PKCS#7 certificate bundle - a digital certificate file encoded as a "degenerate" PKCS#7 SignedData structure containing one or more X.509 certificates but no signed payload. It is used to distribute a certificate or a full certificate chain (end-entity plus intermediate CAs) as a single portable file.

Technically, .p7c and .p7b are the same format: both wrap certificates in a PKCS#7 SignedData structure (OID 1.2.840.113549.1.7.2) with an empty SignerInfos field. The distinction is by convention - .p7c is the extension Microsoft associates with the certs-only form for S/MIME and email-identity purposes. Windows CryptoAPI and the Certificate Manager (certmgr.msc) handle both identically.

Files can be encoded two ways: DER (binary, starting with bytes 30 82) or PEM (Base64-encoded DER wrapped in -----BEGIN PKCS7----- / -----END PKCS7----- header lines).

.p7c files hold only public certificates - no private keys are included. For files that bundle a certificate with its private key, see .pfx (PKCS#12). The underlying standard has been superseded by CMS (Cryptographic Message Syntax, RFC 5652), but .p7c files remain in wide use for S/MIME certificate distribution, code-signing chains, and enterprise PKI workflows.

openssl pkcs7 -in file.p7c -print_certs extracts the certificates from the bundle.

Security & safety

RISK: LOW

.p7c holds only public certificates - no private keys. Safe to share and distribute. No executable content. Risk: always verify the certificate's issuer/thumbprint after importing to confirm it is from a legitimate CA; malicious certificates could be used in MITM attacks if imported into Trusted Root CAs.

Format details

in a nutshell
FULL NAMEPKCS#7 Certificate Fileaka Degenerate SignedData, certs-only PKCS7
DEVELOPERRSA Laboratories (PKCS standard); standardized by IETF as RFC 2315 → RFC 5652 (CMS)since 1993 (PKCS#7 v1.5 by RSA Laboratories; RFC 2315 published 1998)
MIME TYPEapplication/pkcs7-mime
TYPEDER/PEM-encoded ASN.1 PKCS#7 SignedData structure (certs-only, no payload)
STANDARDOpen · royalty-free
This extension is also used by…
  • S/MIME signed-and-enveloped mail attachment - application/pkcs7-mime with smime-type=enveloped-data wraps encrypted email body; same extension, different content type.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
3082
ASCII
0·
DER-encoded files start with 0x30 (SEQUENCE tag) followed by length bytes (0x82 means 2-byte length follows). PEM-encoded variant starts with ASCII text '-----BEGIN CERTIFICATE-----' or '-----BEGIN PKCS7-----'; hex: null for PEM. The PKCS#7 OID 1.2.840.113549.1.7.2 (signedData) appears in the header.

Programs that open P7C files

Windows5 apps
Adobe Acrobat Paid Edit > Preferences > Signatures > Identities & Trusted Certificates > Import - use to add the certificate for PDF signature validation, not to 'open' as a document.
Microsoft Windows Certificate Manager (certmgr.msc) Built-in Double-click the .p7c to launch the Certificate Import Wizard; choose the certificate store (Personal, Trusted Root CAs, etc.).
Microsoft Windows (built-in shell handler) Built-in Double-click opens the Certificate dialog natively; click 'Install Certificate' to invoke the Import Wizard.
Adobe Reader (Acrobat Reader) Free Can import .p7c for digital signature certificate validation via Preferences > Signatures. It does NOT open P7C as a document.
OpenSSL (CLI) Open-source openssl pkcs7 -inform DER -in cert.p7c -print_certs -out certs.pem - extract individual PEM certificates.
macOS2 apps
Keychain Access Built-in Double-click the .p7c or drag it onto Keychain Access to import the certificate(s) into the appropriate keychain.
macOS (built-in) Built-in Double-click to open in Keychain Access automatically.
Linux1 app
OpenSSL (CLI) Open-source openssl pkcs7 -inform DER -in cert.p7c -print_certs - display or extract certificates.

Technical details

deep spec
StandardPKCS#7 v1.5 (RFC 2315, 1998); functionally identical to CMS SignedData (RFC 5652, 2009)
PKCS#7 OID1.2.840.113549.1.7.2 (id-signedData)
DER magic bytes30 82 - ASN.1 SEQUENCE tag followed by 2-byte length encoding
PEM header-----BEGIN PKCS7----- / -----END PKCS7-----
EncodingBinary (DER) or text (PEM - Base64-encoded DER)
ContainerASN.1 BER/DER - same encoding used by all X.509 and PKCS formats
Certificates includedOne or more X.509 v3 DER certificates (end-entity plus chain)
Private keysNot included - certs-only format; use .pfx/.p12 for certificate+key bundles
SignerInfos fieldEmpty (degenerate SignedData - no signed content, only certificates)
MIME typeapplication/pkcs7-mime; smime-type=certs-only
Typical file size1 KB - 20 KB (scales with certificate chain length)
OpenSSL commandopenssl pkcs7 -in file.p7c -print_certs
Operating systemsWindows, macOS, Linux, iOS, Android
Released1993 (PKCS#7 v1.5 by RSA Laboratories; RFC 2315 published 1998)
Latest versionCMS (Cryptographic Message Syntax) RFC 5652, 2009 - successor standard
Open standardYes · royalty-free
Specificationdatatracker.ietf.org

P7C conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with P7C files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about P7C files.

Frequently asked questions

What is a P7C file?
A PKCS#7 certificate file - it contains one or more digital certificates (public key data only, no private key). Used to distribute certificates for email signing, SSL/TLS, or code signing validation.
How do I open a P7C file on Windows?
Double-click it - Windows opens the Certificate Import Wizard automatically. Choose the right certificate store (Personal for your own cert; Trusted Root CAs for CA certificates).
How do I open a P7C file on Mac?
Double-click it and Keychain Access opens. Select the target keychain and click Add.
Does a P7C file contain my private key?
No. P7C only holds public certificates. Your private key is in a .pfx or .p12 file (PKCS#12), which you should never share.
What is the difference between P7C and P7B?
They are the same format (PKCS#7 certs-only). P7B is more commonly seen on Windows; P7C is the S/MIME-specific extension. You can rename one to the other.
Why does Adobe Reader want me to open a P7C file?
Adobe uses .p7c for Digital ID certificate import for PDF signing/verification. It's not a PDF document - it's a certificate to import into Acrobat's trust store.
Can I convert a P7C to PEM?
Yes: openssl pkcs7 -inform DER -in cert.p7c -print_certs -out bundle.pem

References

1RFC 2315 - PKCS#7 Cryptographic Message Syntax v1.5datatracker.ietf.org
2RFC 5652 - Cryptographic Message Syntax (CMS, successor)datatracker.ietf.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.PARTPartial Download File
5.MDMarkdown Document
6.EXEWindows Executable (Portable Executable)
7.BINCD/DVD Disc Image (BIN/CUE)
8.DATProgram Data File (generic)
9.RPMSGRestricted Permission Message
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.CRYPTWhatsApp Encrypted Message Database Backup
.SDOCOracle IRM Sealed Word Document
.AXXAxCrypt Encrypted File
.REMBlackBerry Encrypted Media Card File
.DLCDownload Link Container
.SECPGP Secret Key Ring File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z