PEM Format Certificate¶
The PEM Format (Privacy-Enhanced Mail) is the most common format used for X.509 certificates and cryptographic keys.^[600-developer-tools-security-security-file-extension-name.md]
File Characteristics¶
PEM files are typically Base64 encoded ASCII files designed to be readable in text editors.^[600-developer-tools-security-security-file-extension-name.md] They differ from binary formats like DER by containing specific delimiters.^[600-developer-tools-security-security-file-extension-name.md]
The content within a PEM file is enclosed between header and footer lines, such as:
* -----BEGIN CERTIFICATE-----
* -----END CERTIFICATE-----^[600-developer-tools-security-security-file-extension-name.md]
File Extensions and Usage¶
The PEM format is utilized by various server software, most notably Apache and similar platforms.^[600-developer-tools-security-security-file-extension-name.md] These servers generally expect certificates and private keys to be stored in separate files.^[600-developer-tools-security-security-file-extension-name.md]
Common file extensions associated with PEM formatted files include:
* .pem
* .crt
* .cer
* .key^[600-developer-tools-security-security-file-extension-name.md]
Related Concepts¶
- [[DER Format Certificate]]
- [[PKCS#12 Format Certificate]]
- [[PKCS#7 Format Certificate]]
Sources¶
^[600-developer-tools-security-security-file-extension-name.md]