Ubuntu - Certificates - Certificate Types

Common filename extensions for X.509 certificates are:

Filename ExtensionDescription
.pemPrivacy-enhanced Electronic Mail. Base64 encoded DER certificate, enclosed between “—–BEGIN CERTIFICATE—–” and “—–END CERTIFICATE—–“
.cer, .crt, .derUsually in binary DER form, but Base64-encoded certificates are common too (see .pem above)
.p7b, .p7cPKCS#7 SignedData structure without data, just certificate(s) or CRL(s)
.p12PKCS#12, may contain certificate(s) (public) and private keys (password protected)
.pfxPFX, predecessor of PKCS#12 (usually contains data in PKCS#12 format, e.g., with PFX files generated in IIS)