TLS certificates: how they work
How TLS certificates work: certificate authorities, DV, OV and EV validation levels, free certificates, ever-shorter lifetimes, Certificate Transparency logs and their role.
Who issues certificates
Certificate authorities check that whoever requests a certificate really controls the domain, and sometimes who they are. Browsers trust a limited list of authorities and require them to follow common rules set by the CA/Browser Forum.
| Type | What is verified | What it reveals |
|---|---|---|
| DV, domain validation | Only control of the domain | No data on the holder |
| OV, organisation validation | The domain and the organisation’s existence | Organisation’s name, city and country |
| EV, extended validation | More thorough checks on the organisation | More detailed organisation data |
| Self-signed | No external verification | Internal names, devices’ default settings |
Today most sites use free DV certificates, issued automatically in seconds and valid for a few months. This has made the web much safer, but it also means a certificate alone says nothing about a site’s honesty: phishing pages have the padlock too.
Transparency logs
Every public certificate is recorded in append-only logs run by independent parties: nothing can be deleted or changed. They were created to detect certificates issued by mistake or through deception, but they let anyone see which names have obtained a certificate and when.
TLS certificates: technique
The technique for exploiting certificates: reading the certificate, alternative names, issuer and dates, searching transparency logs, searching by organisation, searching by fingerprint in device search engines, historical certificates, self-signed certificates.
The pages of this topic
Back to the overviewTLS certificates: sources
The sources for certificate research: the site’s certificate, Certificate Transparency logs, certificate and device search engines, historical archives, monitoring services.
TLS certificates: tools
The tools for analysing certificates: the browser viewer, OpenSSL, crt.sh, certificate and device search engines, subdomain enumeration tools, monitoring services.
TLS certificates: guided example
A guided example on a phishing site: alternative names revealing other look-alike domains, issuance dates, the real server found from the fingerprint, an exposed test panel, reports.
TLS certificates: limits
The limits of certificate research: DV certificates with no holder data, wildcard certificates, certificates shared by CDNs, private certificates not logged, past data, false positives among look-alike names.
TLS certificates: how to document
How to document certificate research: certificate saved with fingerprint, exports from transparency logs, dated captures from search engines, a table linking domains and servers.
TLS certificates: frequently asked questions
Short answers to the most common questions about TLS certificates in open-source investigations.