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
- Paste a certificate in PEM format (the text between
-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----), or open a file:.pem,.crt,.ceror a binary.der. - 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.
- 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
- Names: the Subject, and the Subject Alternative Names (SAN) list, the only names browsers check. Wildcards cover one level:
*.example.comcoversshop.example.com, notexample.comand nota.shop.example.com. - Issuer and dates, with the days left, or how long ago it expired.
- The key (RSA size, or the EC curve, or Ed25519) and the signature algorithm.
- Extensions: key usage, extended key usage (TLS server, TLS client…), whether it’s a CA, key identifiers, OCSP and issuer URLs, CRLs, Certificate Transparency.
- Fingerprints: SHA-256 and SHA-1, the same as
openssl x509 -noout -fingerprint -sha256. - Warnings: expired or not yet valid, SHA-1 signatures, RSA keys under 2048 bits, no SAN at all.
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:
- the chain is out of order, or an intermediate is missing;
- a certificate names the right issuer but wasn’t signed by that key;
- the last certificate’s issuer isn’t in the paste: normal for the root, which servers don’t send.
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
- Private keys are refused before anything is read. Don’t paste private keys into websites, this one included.
- A CSR (certificate request) or a .p7b bundle gets the OpenSSL command to read or convert it.
- It doesn’t connect to servers: a web page can’t read another site’s certificate. To get one from a server:
openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/nullFAQ
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
kubectl "x509: certificate signed by unknown authority": your kubeconfig doesn't trust this cluster
Fix kubectl "x509: certificate signed by unknown authority": get a fresh kubeconfig for a recreated cluster, compare the CA, and handle proxies that inspect TLS.
Intermediate · 4 min read
"Certificate has expired": check the dates, renew it, and find out why it didn't renew
Fix "certificate has expired" and NET::ERR_CERT_DATE_INVALID: check the dates with openssl, renew with Certbot, reload the server, and fix why renewal or clock failed.
Beginner · 4 min read
"SSL certificate problem: unable to get local issuer certificate": fix the chain, not the check
Fix "unable to get local issuer certificate" in curl, git, pip, npm and Docker: find the broken link with openssl, then fix the server chain or add the missing CA.
Intermediate · 4 min read