# CertGraph

> Crawls TLS certificate alternate names to build a graph of related domains, live or from Certificate Transparency.

Source: https://osinttools.io/tools/certgraph/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Domain
- **Category:** Infrastructure and domains
- **Pricing:** Free, open source
- **Footprint:** depends on the modules you run
- **Account required:** no
- **API:** no public API
- **Platforms:** Go CLI · Docker · local web UI
- **Website:** https://github.com/lanrat/certgraph
- **GitHub:** lanrat/certgraph, 385 stars · Go · GPL-2.0 · last commit 2026-11-15
- **Listed:** Nov 26
- **Last verified by an editor:** Nov 26, 2026

## What it does

CertGraph starts from a host, reads the Subject Alternative Names on its certificate, then follows each new name to its own certificate, building a directed graph of domains. Certificates can be fetched by connecting over HTTPS or SMTP STARTTLS, or looked up in Certificate Transparency logs through crt.sh or Censys, in which case no packets reach the domains.

Investigators use it to find domains that share certificates with a target and so are likely run by the same operator. It can print the graph as JSON, serve a small web UI for exploring it, save certificates as PEM files and check DNS to see whether found domains are still registered.

Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is no public API.

## Features

- Breadth-first crawl of certificate SAN names
- HTTP, SMTP, crt.sh and Censys drivers
- JSON graph output
- Built-in web UI
- Regex and depth limits
- Save certificates as PEM

## Pros

- Reveals domain relationships through shared certificates
- Passive mode via CT logs
- Single Go binary or Docker image
- Maintained and open source (GPL-2.0)

## Cons

- CDN certificates can link unrelated domains unless filtered
- Censys driver needs API credentials
- Default http driver connects to every host it crawls

## When to use it

- Use it when you want to find other domains served under the same certificates as a suspicious site.
- Use it when you need a visual graph of how a set of domains is linked through TLS certificates.

## Quick start

Install with Go or Docker:

```
go install github.com/lanrat/certgraph@latest
docker run --rm -it ghcr.io/lanrat/certgraph example.com
```

## Alternatives

- [Cisco Umbrella Popularity List](https://osinttools.io/tools/cisco-umbrella-popularity-list/): Daily list of the top one million domains by passive DNS queries on Cisco's Umbrella network, free to download. (Free · Domain · passive)
- [CrawlGraph](https://osinttools.io/tools/crawlgraph/): Backlink lookups from the Common Crawl web graph, with an MCP server for referring domains, link changes and competitor gaps. (Freemium · Domain · passive · 8 GitHub stars)
- [DNS Twister](https://osinttools.io/tools/dnstwister/): Free look-alike domain check plus paid monitoring of new certificates and DNS changes on typosquatting domains. (Freemium · Domain · passive)
- [DNSDumpster](https://osinttools.io/tools/dnsdumpster/): Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map. (Freemium · Domain · passive)
- [DNSSEC Analyzer](https://osinttools.io/tools/dnssec-analyzer/): Verisign Labs tool that walks a domain's DNSSEC chain of trust from the root and flags where validation breaks. (Free · Domain · active)
- [DNSViz](https://osinttools.io/tools/dnsviz/): Visual analysis of a domain's DNS and DNSSEC chain of trust, listing configuration errors along the resolution path. (Open source · Domain · active · 1,281 GitHub stars)

All alternatives to CertGraph in one table: https://osinttools.io/tools/certgraph/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
