When does this site's SSL certificate expire?

Enter a site to check that its certificate is accepted right now. To see when it expires and which names it covers, paste the certificate from your browser or your host: it is read in your browser and sent nowhere.

This site's server opens it on https and says whether the certificate was accepted.

The block from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE-----. A whole chain works; the first certificate is the one read. Never paste a private key.

Where do I find the certificate?

Open the site in your browser, then:

  • Chrome: open DevTools, choose More tools and then Privacy and security from its menu, and on the Overview click View certificate.
  • Firefox: click the shield to the left of the address, then Connection secure, then More site information, then View Certificate. The page that opens shows the Issuer, the Validity dates and the Subject Alt Names.
  • Safari on a Mac: choose Safari, then Connection Security Details.
  • Your host: if its control panel shows the certificate as text that starts with -----BEGIN CERTIFICATE-----, copy it and paste it here.

The browser views show the dates themselves, so you can read them there. Paste the certificate here when you want the days left, the names checked against your site and the fingerprint worked out for you.

What it checks

  • Whether the certificate is accepted now. This site's server opens https://your-site/ and reports whether the connection worked with a certificate it trusts, or failed.
  • The certificate you paste or drop. Its names, issuer, validity dates and days left, its key, signature algorithm, serial number and SHA-256 fingerprint, read by this page in your browser. Nothing you paste is sent anywhere.
  • Whether your site's name is covered. An exact name, or a wildcard that stands for exactly one label (RFC 6125): *.example.com covers www.example.com but not example.com or a.b.example.com.

What it can't see

The certificate the site serves. This site's server can tell whether a secure connection works, but cannot read the certificate behind it, so the dates come from what you paste.

Certificate Transparency logs, the public records of issued certificates. Searches such as crt.sh list every certificate logged for a domain, but crt.sh's robots.txt asks every automated client to keep off the whole site, and Cert Spotter's free API is meant for personal or evaluation use. So this tool does not query them for you. The crt.sh link opens the search in your own browser.

Revocation and trust. It does not check whether a pasted certificate was revoked, or whether its issuer is one browsers trust. The live check is the closest it gets.

Questions

How early should a certificate be renewed?

If your host renews it automatically, check a few days before the end that the new one has arrived. If not, renew a few weeks ahead, so that a delay does not take the site offline.

The dates are fine. Why does a browser still warn?

The name may not be covered (the www version, for example), the server may not send the whole chain, or the issuer may not be trusted. The live check here says whether this site's server accepts the certificate.

Is it safe to paste a certificate?

Yes. A certificate is public: every visitor's browser receives it. Never paste the private key, which must stay on the server. This page refuses keys and clears the field.

What is crt.sh?

A public search of Certificate Transparency logs, run by Sectigo. Searching a domain there shows the certificates issued for it, including ones you did not know about.