Domains and infrastructure · Overview

TLS certificates: what a site’s padlock reveals and how public certificate logs help an investigation

How to use TLS certificates in open-source investigations: what a certificate contains, alternative names, issuing authorities, DV, OV and EV certificates, issuance dates, Certificate Transparency logs, searches by organisation and fingerprint, real servers behind CDNs, monitoring look-alike domains, limits and documentation.

The padlock next to a website’s address shows that the connection is encrypted thanks to a TLS certificate: a digital document, signed by a certificate authority, linking a domain name to a public key. For the user it is a guarantee of confidentiality; for an analyst it is a surprisingly rich source of information.

A certificate lists all the names it protects, and a single certificate often covers domains its holder has never linked publicly. It shows when it was issued, that is, when someone started preparing a site. Sometimes it gives the organisation’s name and location. And above all, since 2018 almost all public certificates have been recorded in transparency logs that anyone can consult: a huge archive, updated in real time, of domain names and subdomains.

2013year the Certificate Transparency standard was published
2018year from which the main browsers require public certificates to be recorded in transparency logs
47 daysmaximum lifetime of public certificates from 2029 under CA/Browser Forum rules

What a certificate contains

Protected names
The main name and the list of alternative names, sometimes dozens of domains.
Issuer
The certificate authority that signed it.
Validity
Start and expiry dates, showing when the site was prepared.
Organisation
In the more thoroughly vetted certificates, the holder’s name, city and country.
Public key
The key the server uses in connections.
Fingerprint
A unique identifier of the certificate, useful for finding it on other servers.

Certificates complement research on DNS and subdomains and IP addresses; for the basic entry see Certificate Transparency.

TLS certificates

The pages of this topic

01 How it works

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.

02 Technique

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.

03 Sources

TLS certificates: sources

The sources for certificate research: the site’s certificate, Certificate Transparency logs, certificate and device search engines, historical archives, monitoring services.

04 Tools

TLS certificates: tools

The tools for analysing certificates: the browser viewer, OpenSSL, crt.sh, certificate and device search engines, subdomain enumeration tools, monitoring services.

05 Worked example

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.

06 Legal and ethical limits

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.

07 How to document

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.

08 FAQ

TLS certificates: frequently asked questions

Short answers to the most common questions about TLS certificates in open-source investigations.

↑