Skip to content
ohsudo, Home

SSL Certificate Decoder

Paste a PEM certificate or open a DER file: names, dates, key, extensions and fingerprints, whether a chain is in order and really signed, and which names it covers.

● Runs 100% in your browser — nothing you type leaves this page.

Read in your browser; nothing is sent anywhere. Never paste a private key into a website.

How to use it

  1. Paste a certificate in PEM format (the text between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----), or open a file: .pem, .crt, .cer or a binary .der.
  2. To check a whole chain, paste all of its certificates, one after the other, in the order your server sends them: your certificate first, then the intermediates.
  3. Type a name under Does it cover this name? to see whether a browser would accept the certificate for it.

Everything is read in your browser. A certificate is public, but nothing you paste or open leaves this page anyway.

What it shows

The chain check

For each certificate, the tool checks that the next one in the paste is its issuer: the names must match, and the issuer’s key must verify the signature (RSA, ECDSA and Ed25519, with your browser’s own cryptography). It tells you when:

It doesn’t decide whether your computer trusts the root. That depends on the trust store of each system and browser.

What it won’t read

Terminal window
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null

FAQ

The browser says the certificate is for another name

Paste it here and type the name: the tool shows which names the certificate has. Then see ERR_CERT_COMMON_NAME_INVALID.

“unable to get local issuer certificate”

The server doesn’t send its intermediate certificate. Paste what it sends: the chain check shows what’s missing. See unable to get local issuer certificate.

nginx says “no start line”

The file isn’t PEM. Open it here: if it decodes as DER, convert it with openssl x509 -inform der. See no start line.

The certificate has expired

See certificate has expired for the renewal, and the clock problems that look like it. For Kubernetes clusters, see x509: certificate signed by unknown authority.

nginx says “key values mismatch”

The key belongs to another certificate, or the certificate file starts with the intermediate instead of your own certificate. Paste the file here to see the order. See key values mismatch for comparing the key without uploading it anywhere.

Articles

Learn more