DevGrill

Certificate & PEM Decoder

Decode X.509 certificates, chains, CSRs and keys: expiry, SANs, issuer and fingerprints.

Runs in your browser

0 chars

Paste a certificate, a chain, a CSR or a key, or open a .pem, .crt or .der file.

What's inside a certificate

A TLS certificate is a signed file that says which names a key is valid for, who vouches for it and until when. When HTTPS breaks, the cause is usually right there: it expired, it doesn't list the name you're visiting, or the chain of issuers is incomplete.

Paste a certificate (-----BEGIN CERTIFICATE-----), a whole chain, a certificate signing request or a key, or open a .pem, .crt or .der file. You get the names it covers (SANs), issuer, validity with days left, key type and size, every extension in plain words and SHA-256 and SHA-1 fingerprints. For a chain, each link is checked: is every certificate issued by the next one?

How to use the Certificate & PEM Decoder

  1. Get the certificate. From your server's files, from openssl s_client -connect host:443 -showcerts, or from your browser's padlock › certificate › export.

  2. Paste it or open the file. Several certificates at once are read as a chain, in the order given.

  3. Check what matters. Days left, the names it's valid for, and whether the chain links up.

Tips

  • Modern browsers ignore the CN; a certificate is only valid for the names in its Subject Alternative Names.
  • A server should send its own certificate followed by the intermediates, but not the root. Paste what it sends to see if a link is missing.
  • A CSR shows exactly what you're about to ask a CA for: check the names before you submit it.

Frequently asked questions

Is it safe to paste a private key here?

It's read in your browser and never sent or stored, and this tool has no share links. Still, treat private keys like passwords and only paste them where you have to; you never need the private key to inspect a certificate.

Does it check whether the certificate is trusted or revoked?

No. That needs your system's trust store and online checks (OCSP, CRLs), and DevGrill doesn't contact other servers. It does show the OCSP and CRL addresses so you can check them yourself.

Which formats work?

PEM certificates, chains and CSRs; public keys (SPKI and PKCS#1); private keys (PKCS#8, PKCS#1 and EC); and binary DER files. Encrypted private keys are recognised but not decrypted.

Why is my certificate shown as not issued by the next one?

The chain is out of order or missing an intermediate. List them leaf first, then each issuer in turn.

Related tools