PEM
Base64-wrapped DER with BEGIN/END markers.
Overview
Base64-wrapped DER with BEGIN/END markers.
Certificates, chains, expiry, HSTS and certificate transparency.
This term appears across 2 tools in the SSL / TLS category. Use the examples and checks below to see how it behaves in practice.
Where you see it
PEM is base64 DER wrapped in BEGIN/END lines.
ASN.1 / DER ViewerDecoding PEM to DER is the first step before parsing.
ASN.1 / DER Viewer
Examples
Example values show how this term appears in practice; run a live check for current values.
| Case | Values | Note |
|---|---|---|
| Header | -----BEGIN CERTIFICATE----- | Value captured at review time. |
| Body | Base64, 64 columns | Value captured at review time. |
| Footer | -----END CERTIFICATE----- | Value captured at review time. |
| Bundle | leaf then intermediates | Value captured at review time. |
| Encryption | traditional encrypted PEM uses DEK-Info | Value captured at review time. |
| Label | CERTIFICATE, PRIVATE KEY or RSA PRIVATE KEY | Value captured at review time. |
How to use it
- Open CSR Decoder and run it against a real target such as Paste a PEM CSR.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- A valid PEM needs the leaf, intermediates and a trusted root in the right order; a missing intermediate breaks clients even when the leaf is valid.
- The certificate must cover the name clients use; check every SAN for PEM, including the apex and www variants.
- Expiry is easy to miss: check the validity window for PEM and set alerts well before the renewal date.
Why it matters
Certificates, chains, expiry, HSTS and certificate transparency.
2 tools use this term
SSL / TLSWhere to check it
Use CSR Decoder, ASN.1 / DER Viewer to inspect it directly. Each tool shows the raw result and its limitations.
SSL / TLSCommon problems and fixes
TLS error: verify the chain order, SAN coverage, expiry and the trust store used by the client.
Two checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.
Used in these tools
2 toolsStandards and references
Frequently asked questions
What is PEM?+
Base64-wrapped DER with BEGIN/END markers.
How do I check PEM?+
Use CSR Decoder, ASN.1 / DER Viewer to inspect it directly. Each tool shows the raw result and its limitations.
Why does PEM matter?+
It affects how SSL / TLS results are read. Certificates, chains, expiry, HSTS and certificate transparency.
What is a common mistake?+
Serving only the leaf certificate. PEM fails on clients that do not already have the intermediate cached.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


