Certificate Transparency Logs Explained
Understand how public append-only logs expose every web certificate, what proofs keep them honest, and how to watch your own domains for surprises.
Key takeaways
- CT logs are public records of issued certificates that can be added to but not silently altered.
- A signed certificate timestamp is a log's promise that it will include a certificate, and browsers check for these.
- Merkle tree proofs let anyone verify that an entry is in a log and that history hasn't been rewritten.
- CT detects wrongly issued certificates after the fact; it doesn't prevent issuance by itself.
- Hostnames in logged certificates are public, so don't put secrets in them.
Certificate Transparency (CT) is a system of public, append-only logs that record the TLS certificates that authorities issue. Because major browsers expect a certificate to carry proof that it was logged, a certificate for your domain can't quietly circulate without leaving a public trace.
For site owners, that means you can find out when anyone obtains a certificate for your names. It also means the hostnames in your certificates are visible to everybody.
The problem it addresses
Web browsers trust many certificate authorities, and technically any of them can sign a certificate for any domain. If one is compromised or makes a mistake, the result is a certificate that browsers accept for a site its holder doesn't control.
Before CT, such a certificate might be noticed only if someone happened to inspect it. There was no central place for a domain owner to look. CT, first described in RFC 6962 and revised as version 2 in RFC 9162, makes issuance visible. Deployed systems have largely been built on the original design and its successors, so check current log documentation for the interfaces in use.
Who does what
Logs are run by various organizations. Browser makers decide which logs they recognize and what behavior they require, and they can stop trusting a log that misbehaves.
Monitors download entries and search them, for example for certificates naming your domain. Auditors check cryptographically that a log is keeping its promises. One piece of software can play both roles.
How a certificate gets logged
The usual flow involves a small puzzle: the certificate should contain proof of logging, but it has to be logged before it is finished. The answer is a precertificate, a preliminary version marked so that it can't be used to serve websites.
The promise is the Signed Certificate Timestamp (SCT). A log signs it and commits to adding the entry within a stated maximum delay. The authority typically collects SCTs from more than one log and embeds them in the final certificate.
SCTs can also be delivered in a TLS extension or a stapled OCSP response, but embedding is the common approach because it needs nothing from the server operator.
When your browser connects, it checks that the certificate has enough valid SCTs from logs it recognizes. Chrome, Apple's platforms and desktop Firefox enforce CT requirements for publicly trusted certificates. A certificate that lacks them produces an error. Certificates from private authorities that you or your employer installed are generally exempt.
Why a log can't quietly cheat
A log is built on a Merkle tree. Each certificate is hashed. Pairs of hashes are combined and hashed again, repeatedly, until a single value remains: the root hash. The log signs this root regularly, producing a signed tree head. Changing any entry changes the root. If hashes are new to you, digital signatures and hashes sets out the idea.
This structure supports two efficient checks:
- An inclusion proof shows that a particular certificate is in the tree, using only a handful of hashes rather than the whole log.
- A consistency proof shows that a newer tree contains the older one unchanged, with entries only added at the end.
Because proofs grow slowly as the log grows, a log with enormous numbers of entries remains practical to verify. A log that showed different histories to different people could be exposed by comparing signed tree heads.
Newer log designs store the tree as static files, called tiles, that are cheaper to serve and cache. The underlying idea of an append-only hash tree is the same.
What CT does and doesn't do
CT is a detection system. It does:
- Make mis-issued certificates discoverable by the affected domain owner and by researchers.
- Create accountability for authorities, since the evidence is public and signed.
- Give browser root programs data when judging an authority's conduct.
It does not:
- Stop a certificate from being issued. CAA records help restrict which authorities may issue.
- Revoke anything. You still have to ask the issuing authority.
- Judge whether a domain is a scam. A look-alike domain's certificate is logged like any other.
- Alert you automatically. Somebody has to watch.
Monitoring your own domains
You can search CT data through public search services such as crt.sh, or subscribe to a monitoring service that emails you when a new certificate appears for your names. Some DNS, CDN and security providers include this.
A practical routine:
- List the authorities you actually use, including those your hosting, CDN and software vendors use on your behalf.
- Set up alerts for your domains and their subdomains.
- When an alert arrives, match it to a known system or renewal.
- If you can't explain it, find out who requested it. Check with colleagues and vendors first, since forgotten services are the usual explanation.
- If it was unauthorized, contact the issuing authority to request revocation, and investigate how domain control was demonstrated. Review DNS, registrar and web server access.
An unauthorized certificate that passed domain validation suggests something else is wrong, such as a hijacked DNS record or a dangling subdomain.
Each renewal creates new entries, and you'll often see a precertificate and a final certificate for one issuance. Compare serial numbers before assuming there are two.
The privacy side
Logs reveal every name listed in a publicly trusted certificate. A name like new-product-codename.example.com can announce plans, and old-admin.example.com can invite probing. Automated scanners watch new entries, so a fresh server may receive unwanted traffic soon after its certificate is issued.
Sensible responses:
- Finish securing a service before requesting its certificate. Remove default passwords and setup pages first.
- Avoid sensitive words in hostnames.
- Consider a wildcard certificate, which logs only
*.example.com, weighing the wider impact if its key leaks. - Use a private authority for internal-only names.
Hiding a name was never a reliable defense. Authentication and access control are what protect a service.
Reading a search result
A log search returns more rows than newcomers expect. Knowing the columns helps:
- Logged and validity dates. When the entry appeared and the period the certificate covers.
- Names. Every hostname in the certificate, which may include names belonging to other customers if a provider shares certificates.
- Issuer. The intermediate that signed it. Map this back to a company or service you use.
- Serial number. The quickest way to match an entry to a certificate on your server.
On your server, print the serial of a certificate file to compare:
openssl x509 -in certificate.pem -noout -serial -enddate Hosting platforms and CDNs may order certificates from authorities you've never dealt with directly, sometimes more than one as a backup. Record these once so later alerts are easy to dismiss. If you use CAA records, make sure they allow those authorities, or a future renewal will fail.
A hypothetical investigation
Say an alert shows a certificate for login.example.com from an authority your team doesn't use. First, look up where that name points now and whether it points at something of yours. Next, ask whether marketing, a vendor or a developer set up a new service. Often one of them did.
If nobody did, treat it as an incident. Preserve the log entry, check DNS change history and registrar sign-ins, review who can write files to your web servers, and report the certificate to the issuer with your evidence of domain ownership. Then close whatever gap allowed validation to succeed, because revoking one certificate won't stop a second request while the gap stays open.
Other uses
Because the logs form a broad record of certificates, defenders use them to spot phishing sites that imitate their brand, to inventory forgotten systems and to check that certificate policies are followed across a large organization. Researchers study them to understand how HTTPS is deployed.
Treat results with care. A certificate shows that someone controlled a name at issuance time. It doesn't show that a site exists now, or that anything malicious happened.
Common questions
Do I need to submit my certificates myself?
Normally not. Public authorities handle logging as part of issuance, including automated ACME issuance.
Can an entry be removed from a log?
No. The append-only design is the point. Revoking or letting a certificate expire doesn't erase its record, although individual logs may eventually be retired.
Why does my browser report a transparency error?
The certificate lacks acceptable SCTs, the browser's log list may be badly out of date, or something is presenting an unusual certificate. Update the browser, check your clock, and don't bypass the warning; see certificate errors.