Common filename extensions for X.509 certificates are:
Filename Extension | Description |
---|---|
.pem | Privacy-enhanced Electronic Mail. Base64 encoded DER certificate, enclosed between “—–BEGIN CERTIFICATE—–” and “—–END CERTIFICATE—–“ |
.cer, .crt, .der | Usually in binary DER form, but Base64-encoded certificates are common too (see .pem above) |
.p7b, .p7c | PKCS#7 SignedData structure without data, just certificate(s) or CRL(s) |
.p12 | PKCS#12, may contain certificate(s) (public) and private keys (password protected) |
.pfx | PFX, predecessor of PKCS#12 (usually contains data in PKCS#12 format, e.g., with PFX files generated in IIS) |