toolqik

42 · Keys & Auth

Certificate Decoder

Read an SSL/TLS certificate or CSR: names, dates, SANs, key and chain.

Runs in your browser

About this tool

A TLS certificate binds a domain name to a public key, signed by a certificate authority. When HTTPS breaks, the answer is usually in the certificate: an expired date, a missing name in the SAN list, the wrong intermediate, or a chain in the wrong order. This decoder shows every important field in plain language, for certificates and certificate signing requests (CSRs).

Certificates are public, but this page still decodes them entirely in your browser; nothing is uploaded.

How to use it

  1. Paste a certificate (-----BEGIN CERTIFICATE-----), a whole chain, or a CSR. Or open a .crt, .cer, .pem or binary .der file.
  2. Each certificate shows its role (leaf, intermediate or root), whether it’s valid now, and when it expires.
  3. For chains, each certificate is checked against the next: the leaf first, then each issuer in order.

Get a site’s certificate

# The full chain a server sends
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null

# Just the leaf certificate, saved to a file
openssl s_client -connect example.com:443 -servername example.com </dev/null | openssl x509 > site.crt

In a browser, click the padlock in the address bar, open the certificate details and export it.

What to check

  • Subject Alternative Name: browsers ignore the CN; every hostname must be in the SAN list. *.example.com covers one level only, not example.com itself or a.b.example.com.
  • Validity: public TLS certificates issued since March 2026 can last at most 200 days, falling to 100 days in March 2027 and 47 days in March 2029, so automate renewal.
  • Chain order: servers must send the leaf first, then intermediates. The root is optional. A missing intermediate causes errors on some devices but not others.
  • Key and signature: RSA 2048+ or ECDSA P-256/P-384 with SHA-256 or better. SHA-1 signatures are rejected by browsers.

FAQ

How do I decode an SSL certificate?

Paste the PEM text (starting with -----BEGIN CERTIFICATE-----) above, or open the .crt or .pem file. All fields are shown instantly.

How can I check when a certificate expires?

Decode it and look at “Not after” and the status label, which shows how long is left.

What is a SAN?

Subject Alternative Name: the list of hostnames and IP addresses the certificate is valid for. Browsers only check the SAN, not the Common Name.

Can I decode a CSR?

Yes. Paste a certificate signing request (BEGIN CERTIFICATE REQUEST) to see the subject, key and requested names before sending it to a CA.

Is it safe to paste a certificate here?

Yes. Certificates are public by design, and this page decodes them locally without uploading anything. Never paste the private key.

esc
↑↓ navigate↵ open