Skip to content

PEM certificate parser

Paste a PEM certificate taken from openssl, a browser or your server; the fields are parsed in your browser. The days left and expiry warnings, SAN names, key size, extensions, fingerprints and a chain-order check are shown. The certificate never leaves your browser.

Free tool · Infrastructure

Checking your session…

01

How to use

  1. A

    Get the certificate as PEM: openssl s_client -connect yourdomain.com:443 -showcerts, cat certificate.pem from a file, or from your server's certificate folder. A browser's "Base-64 encoded" export also gives PEM.

  2. B

    Paste the text into the box. With several certificates they are parsed in order and the chain is checked. Do not paste a private key (BEGIN PRIVATE KEY); if you do, the tool warns and does not process it.

  3. C

    Look at the days left and the warnings first, then the SAN names, the key size and the extensions. Compare the fingerprint with a value you saw elsewhere to confirm you are looking at the right certificate.

02

What to look at in a certificate

The first place to look is the validity period: an expired certificate causes connection errors in clients, which is why the tool flags the days left with thresholds of 30, 14 and 7 days. Second is the SAN list: browsers and clients verify the server name against the SAN, not the subject CN, so the name you visit must be in the list (or covered by a wildcard).

Next look at the key type and size: at least 2048 bits for RSA and P-256 or above for EC are common. Key Usage and Extended Key Usage say what the certificate may be used for (for example serverAuth, clientAuth); Basic Constraints says whether it is a CA certificate. Weak signature algorithms (MD5, SHA-1) are flagged as warnings.

03

Chain order and why we do not verify the signature

A TLS server normally sends the leaf certificate and the intermediates; the root certificate sits in the client's trust store. In a chain the issuer of each certificate must be the subject of the next. If the order is broken or an intermediate is missing, some clients refuse the connection while others fetch the missing piece themselves and the mistake goes unnoticed. The tool checks this order and the name match.

Signature verification is a separate job: it needs the mathematical check of the signature with the issuer's key, a revocation lookup and a check of the trust anchor. This tool does none of these, and so it never says "the certificate is trusted" or "the chain is valid"; it only reports the fields it read and the name and key-identifier matches.

04

Fingerprints and privacy

The fingerprint is the digest of the certificate's whole DER data. It is used to compare a certificate with a value from another source or to pin it on a server. The tool shows SHA-256 and SHA-1; SHA-1 is only for comparison with older systems.

Certificates are public information but can contain domain and organization names; even so, the text you paste does not leave your browser. A private key is a different matter: if it is captured, a fake server can be set up in the certificate's name. Never paste a private key into any online tool.

FAQ

Is the certificate I paste sent anywhere?
No. Parsing and the fingerprint calculation run as code in your browser; the text is not sent to any server or stored. The tool also makes no live lookups (OCSP, CRL, CT).
What happens if I paste my private key?
The tool recognises "PRIVATE KEY" blocks, shows a warning and does not decode the content. The text still sits in the box, so do not paste a private key into any tool. If you did, use the Clear button and, assuming the key may be compromised, consider replacing it.
Why does the tool not say "trusted certificate"?
Trust rests on verifying the signature with the issuer's key, the chain reaching a trust anchor, the revocation status and the name match. This tool only reads the fields in the certificate and checks name matching in the chain; it does not verify signatures. Only the client's trust store decides on trust.
Why are the days left a whole number?
The remaining time is rounded down to whole days: 6 days 20 hours is shown as "6 days". The thresholds (30, 14, 7) are flagged on that integer. The end date is given in UTC, so it may differ by a few hours from your local time.
Why does the SAN show only DNS and IP?
The most common types are DNS names and IP addresses; email and URI names are listed too. Other name types (such as otherName, directoryName) are only counted. A wildcard name (*.example.com) covers a single level of subdomains only.
Which formats can it read?
PEM-encoded X.509 certificates (BEGIN CERTIFICATE, TRUSTED CERTIFICATE, X509 CERTIFICATE) and a single base64 DER blob without headers. CSRs, public keys and PKCS#12 files are skipped because they are not certificates.

Do not let certificate expiry surprise you

Let us review your certificate inventory, automatic renewal, expiry monitoring and TLS configuration together. In a free discovery call we discuss where you stand and the risks.