How to get a website's certificate
Browser menus change from time to time, but these are the usual steps. Certificates are public, so they're safe to paste here.
Click the icon to the left of the address bar, then Connection is secure → Certificate is valid. On the Details tab, click Export and save it as a .crt or .pem file.
Click the padlock, then Connection secure → More information → View Certificate. Under Miscellaneous, download PEM (cert), or PEM (chain) for the whole chain.
openssl s_client -connect example.com:443 -showcerts prints the full chain. Copy each BEGIN/END CERTIFICATE block.
🔒 Certificates are decoded in your browser and never uploaded. Never paste a private key: it's secret, and nothing here needs it. The samples are issued by a made-up demo authority.
Every certificate issued for a domain
Trusted certificate authorities must record every website certificate they issue in public Certificate Transparency (CT) logs. That means anyone can see which certificates exist for a domain. It's a great way to spot certificates you didn't ask for, and it's also how security teams find phishing sites that imitate them.
Powered by Cert Spotter from SSLMate. Only unexpired certificates are listed. Searches share a limited free hourly allowance, so results are cached for 10 minutes.
What is a digital certificate?
A digital certificate (often called an SSL or TLS certificate) is an electronic ID card for a website. When you visit a site over HTTPS, it shows your browser its certificate to prove which domain it is, and provides the public key used to set up the encrypted connection.
A passport states who you are, has an expiry date and is issued by a government that border staff trust. A certificate states which website it belongs to, has an expiry date and is issued by a certificate authority (CA) that your browser trusts. Border staff check the passport isn't expired and was issued by a real government; your browser does the same checks on every certificate, in milliseconds.
The chain of trust
Validation levels: how much was checked?
The CA only checked that the applicant controls the domain. Free, automatic and issued in minutes. Used by most websites, and by most phishing sites.
The CA also checked that the organisation named in the certificate exists. The company name appears in the certificate details.
The strictest identity checks. Browsers used to show a green company name, but no longer do, so you'd only see it in the certificate details.
haldengroup-co.uk can get a perfectly valid certificate in minutes. Always check the domain itself. Try the "Phishing site with a valid padlock" sample above.
The parts of a certificate
- Subject
- Who the certificate is issued to. For websites this is usually just the Common Name (CN); OV/EV certificates also include the organisation.
- Issuer
- The certificate authority that signed it. If subject and issuer are the same, it's self-signed.
- Validity (Not Before / Not After)
- The dates it's valid between. New public certificates can last at most 200 days (since March 2026), falling to 100 days in 2027 and 47 days in 2029.
- Subject Alternative Names (SAN)
- The list of domain names the certificate covers. Browsers only check this list, not the Common Name.
*.example.comis a wildcard covering one level of subdomains. - Public key
- Half of a key pair used to set up encryption. The matching private key stays secret on the server. RSA keys should be at least 2048 bits; ECDSA P-256 or stronger is modern and efficient.
- Signature algorithm
- How the issuer signed the certificate. SHA-256 or stronger is current; SHA-1 and MD5 are broken and rejected by browsers.
- Serial number
- A unique number assigned by the issuer. It's used to identify the certificate if it's ever revoked.
- Key usage / Extended key usage
- What the certificate may be used for: securing websites, signing code, email encryption and so on.
- Basic constraints
- Says whether the certificate is a CA that can issue other certificates. A website certificate should always say "CA: no".
- OCSP and CRL
- Addresses browsers can use to check whether the certificate has been revoked (cancelled early), for example after its private key was stolen.
- SCTs
- Signed Certificate Timestamps: proof from public Certificate Transparency logs that the certificate was publicly recorded. Required by Chrome and Safari.
- Fingerprint
- A hash of the whole certificate: a short, unique "thumbprint" you can use to confirm two certificates are identical.