Cyber Trainer Toolkit
Free tool

What's inside a digital certificate?

Decode an SSL/TLS certificate to see who it belongs to, who vouches for it, when it expires and whether it's set up safely, with every field explained. Or search public logs for every certificate issued to a domain.

How to

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.

Chrome / Edge

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.

Firefox

Click the padlock, then Connection secure → More information → View Certificate. Under Miscellaneous, download PEM (cert), or PEM (chain) for the whole chain.

Command line

openssl s_client -connect example.com:443 -showcerts prints the full chain. Copy each BEGIN/END CERTIFICATE block.

or try a sample:

🔒 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.

Explainer

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.

🛂
Think of it like a passport.

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

Root certificateOwned by a certificate authority and built into your browser or operating system. Kept offline and heavily protected.
↓ signs
Intermediate certificateUsed by the CA day to day to issue website certificates, so the root can stay locked away.
↓ signs
Website (leaf) certificateBelongs to one website. Your browser checks each signature up the chain until it reaches a root it already trusts.

Validation levels: how much was checked?

DV
Domain Validated

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.

OV
Organisation Validated

The CA also checked that the organisation named in the certificate exists. The company name appears in the certificate details.

EV
Extended Validation

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.

The padlock doesn't mean "safe". It means the connection is encrypted and the certificate matches the domain in the address bar, nothing more. A phishing site at 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.
Reference

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.com is 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.