PEM

A text format for storing keys and certificates, where the binary data is written as Base64 between labelled begin and end lines.

In more detail

PEM originally stood for Privacy-Enhanced Mail, an old email standard whose text wrapping outlived it. Because it is plain text, a PEM file can be pasted into emails and configuration files, and one file can hold several certificates, such as a full chain. The header line says what is inside, so a file whose header announces a private key must be protected like a password.

Examples

-----BEGIN CERTIFICATE-----
openssl x509 -in cert.pem -noout -subject -issuer -dates

Related terms

Taught in

References

Certification courses