A visitor reaches your site and the browser stops them with a warning page. The certificate is expired, the name does not match, or the connection is declared not private. Most visitors leave instead of clicking through.

These warnings are rarely mysterious. A browser checks a small set of facts before it trusts a certificate, and almost every warning traces back to one of them being wrong. This guide walks through the mistakes that cause the warnings, and shows how to read the relevant field with the free SSL Certificate Decoder on Ovatly, which runs locally in your browser.

Contents

  • Quick answer
  • What a browser actually checks
  • Mistake 1: expired or not-yet-valid dates
  • Mistake 2: the site name is missing from the SAN list
  • Mistake 3: a self-signed certificate on a public site
  • Mistake 4: the wrong certificate is installed
  • Mistake 5: pasting the wrong thing into the decoder
  • How to inspect a certificate, step by step
  • Worked example: reading a test certificate
  • Limitations and honest tradeoffs
  • Common mistakes when diagnosing
  • FAQs
  • Conclusion
  • References

Quick answer

Browser warnings usually come from five mistakes: the certificate has expired or is not valid yet, the site name is absent from the subject alternative names (SANs), the certificate is self-signed, the server is presenting the wrong certificate, or a renewal was installed in the wrong place. Open the SSL Certificate Decoder, paste the certificate in PEM format, and read four things: the validity dates and status for today, the SAN list, whether subject and issuer match, and the SHA-256 fingerprint.

What a browser actually checks

Before a browser trusts a certificate, it wants four conditions to hold. The dates must be valid today: not expired, and not starting in the future. The issuer chain must lead to a certificate authority the browser trusts. The site name must appear in the SAN list. And the certificate must not be revoked.

The decoder displays most of these fields: subject and issuer, serial number, validity dates with a status for today, the SANs, signature algorithm, public key type and size, and the SHA-256 fingerprint. Revocation and chain verification are the parts it cannot show you.

Mistake 1: expired or not-yet-valid dates

Expiry is the most common warning of all. When the end date passes, every browser warns every visitor until the certificate is replaced. A certificate installed before its start date fails the same way, with a not-yet-valid error.

The decoder shows both validity dates and a status computed for today, so this check takes seconds. If the certificate is outside its window, no other debugging matters until the dates are fixed. When you renew, decode the certificate the server actually presents, not just the file you received.

Mistake 2: the site name is missing from the SAN list

A certificate only covers the names listed in its subject alternative names. If your site answers on both example.com and www.example.com but the SAN list holds only one of them, visitors to the other get a name mismatch warning.

The trap is the CN field. It looks like the natural place to check the name, but modern browsers ignore it. Read the SAN list instead: the names and addresses in it are covered, and nothing else is.

Mistake 3: a self-signed certificate on a public site

A self-signed certificate is one where the subject and the issuer are the same party: the certificate vouches for itself. They are the right tool for internal and test servers. On a public site, browsers reject them outright, because nothing independent has verified who runs the server.

The decoder makes this easy to spot. If the subject and issuer lines are identical, the certificate is self-signed. The fix is a certificate issued by a real certificate authority, whose name then appears in the issuer field instead of your own.

Mistake 4: the wrong certificate is installed

Servers can hold several certificates, and it is easy to install the new one in the wrong place or leave the old certificate bound to the site. The page then serves a certificate that is valid in itself but wrong for this site.

The SHA-256 fingerprint settles arguments like this. It identifies one exact certificate. Decode the certificate you believe is installed, then compare its fingerprint with the one your host's panel or your browser shows for the live connection. If the two differ, the server is presenting a different certificate from the one you checked.

Mistake 5: pasting the wrong thing into the decoder

Some diagnosis problems are self-inflicted. The decoder reads certificates, and only the first certificate in the pasted text. Paste a private key and it will not decode, because a key is not a certificate. Paste a certificate signing request and the same thing happens: a CSR asks for a certificate, it is not one. Paste a whole chain and you will only see the first certificate in it.

Certificates are public documents, so pasting one is safe. A private key is the opposite: never paste it anywhere.

How to inspect a certificate, step by step

  1. Get the certificate in PEM format, the block from the BEGIN CERTIFICATE line to the END CERTIFICATE line. A bare base64 body also works.
  2. Open the SSL Certificate Decoder and paste the text in. Parsing happens locally in your browser.
  3. Read the validity dates and the status for today first. Dates out of window explain most warnings on their own.
  4. Read the SAN list and confirm your site name is in it, including the www form if you serve it.
  5. Compare subject and issuer: identical means self-signed. Then compare the SHA-256 fingerprint with the one your host or browser reports for the live site.

Worked example: reading a test certificate

Take a self-signed test certificate. Decoded, it shows subject and issuer both as C=US, ST=California, L=San Francisco, O=Example Corp, OU=Web Team, CN=example.com, signature algorithm sha256WithRSAEncryption, an RSA key of 2048 bits, and SANs of example.com, www.example.com and the IP address 93.184.216.34.

Read it: subject equals issuer, so it is self-signed: correct for an internal test box, a guaranteed warning on a public site. The SAN list covers the bare domain and the www form, plus one IP, so any other subdomain would draw a name warning. Three conclusions from one paste, before touching the server.

Limitations and honest tradeoffs

Decoding is display only. The decoder does not verify the chain of trust, does not check the signature, and does not consult revocation lists, so a certificate can decode beautifully and still be untrusted. It decodes only the first certificate in the pasted text, and its parser is deliberately minimal: it reads the standard X.509 v1 to v3 fields and the SAN extension, and does not interpret unusual extensions.

The decoder narrows a warning down to a field; the final verdict belongs to the browser.

Common mistakes when diagnosing

  • Checking the CN field and stopping there. Browsers ignore it. The SAN list is the coverage that counts.
  • Assuming a clean decode means a trusted certificate. Decoding shows contents, not trust.
  • Inspecting the file you downloaded instead of the certificate the server serves. The fingerprint comparison catches exactly this gap.
  • Pasting a private key or a CSR. Neither is a certificate, and a private key should never be pasted anywhere.
  • Debugging before checking the dates. An expired certificate makes every other check irrelevant.

FAQs

Why does my browser say the certificate is expired when I already renewed it? The server may still be serving the old certificate. Decode the certificate your host or browser shows and compare its SHA-256 fingerprint and validity dates with the renewed one. If the fingerprint matches the old certificate, the new one was never installed.

Does a matching CN field mean my domain is covered? No. Modern browsers check the site name against the subject alternative names (SANs) only and ignore the CN field. If your domain is not in the SAN list, the browser warns.

Can a certificate decode correctly and still trigger a warning? Yes. Decoding is display only: it does not verify the chain of trust, check the signature, or consult revocation lists. A certificate can be perfectly readable and still be expired, self-signed, or issued for the wrong names.

What exactly should I paste into the decoder? Paste the certificate itself, either the full PEM block or a bare base64 body. Never paste a private key. A private key or a CSR is not a certificate and will not decode.

What does it mean when the subject and issuer are identical? The certificate is self-signed: it vouches for itself instead of being issued by a certificate authority. That is fine on a test server, but browsers do not trust them on public sites and warn every visitor.

Conclusion

Most certificate warnings are one wrong fact, and the certificate itself tells you which one: the dates, the SAN list, the issuer, or the fingerprint. The SSL Certificate Decoder reads those fields locally from a pasted certificate, before changing server settings. Once a renewal is in place, our companion guide on verifying a certificate after renewing it covers the confirmation checks. For more guides in this series, see our Website and Webmaster Tools guides.

References