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 -datesRelated terms
- Base64 — A way to write any bytes using only 64 safe text characters, so binary data can travel in places that expect text.
- X.509 certificate — A signed document binding a public key to a name, issued by a certificate authority, used by TLS to prove identity.
- private key — The secret half of a key pair, which proves its holder's identity and must never be shared.
- openssl x509 — The OpenSSL command for displaying, converting and signing X.509 certificates.
- TLS certificate — A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.
Taught in
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography
- TLS And The Handshake — Application Security & Threat Modeling for Engineers
- One Comma, No Engine: Installing And Configuring Docker Engine — Docker Certified Associate (DCA) Exam Prep
- Port 2375, Open To The Office: Engine TLS And Registry Certificates — Docker Certified Associate (DCA) Exam Prep
- Two Of Everything: Deploying, Sizing And Backing Up UCP And DTR — Docker Certified Associate (DCA) Exam Prep
- SSL Certificates: Create, Inspect And Verify A Chain — Linux Foundation Certified System Administrator (LFCS) Exam Prep