# Install certgraph with Homebrew, MacPorts, Nix

Crawl the graph of certificate Alternate Names. Version 0.1.2 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#certgraph.

## Install

```sh
sudo av install brew:certgraph
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install certgraph
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install certgraph
```

  Evidence: MacPorts ports tree: net/certgraph/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#certgraph
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ce/certgraph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:certgraph
- **Package manager:** Homebrew
- **Version:** 0.1.2
- **Source summary:** Crawl the graph of certificate Alternate Names
- **Homepage:** <https://lanrat.github.io/certgraph/>
- **Repository:** <https://github.com/lanrat/certgraph>
- **Last updated:** 2026-07-27T19:20:57+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- certgraph (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.1.2
## Project history and usage

CertGraph is a Go command-line tool for exploring relationships exposed by TLS certificate Subject Alternative Names. Its README describes it as creating a directed graph of domains and certificate alternate-name edges, with drivers for live TLS connections and Certificate Transparency sources.

### Project history

The public GitHub repository was created in 2016 under lanrat/certgraph. The project later added GitHub Pages documentation and a web UI that consumes JSON graph output, and its release process now publishes prebuilt binaries for Linux, macOS, and Windows.

### Adoption history

The README lists Linux distribution packaging in BlackArch and Kali Linux, while the supplied package facts show Homebrew, MacPorts, and Nix packaging. That spread places CertGraph in the security-reconnaissance package ecosystem rather than only as a source checkout.

### How it is used

CertGraph is used for host-name enumeration and certificate relationship discovery. Operators can crawl from seed hostnames, switch between HTTP, SMTP, crt.sh, and Censys drivers, emit JSON, save certificates, or serve the graph through the bundled web UI.

### Why package nerds care

For package maintainers, CertGraph is a compact example of certificate-transparency tooling that matters because it crosses CLI, OSINT, and graph visualization workflows. It is also a useful package because its upstream provides a single Go binary and official multi-platform releases.

### Timeline

- 2016: Public GitHub repository created.
- 2022: Version-tagged upstream release history includes v20220513.20220514.0.
- 2025: v0.1.0 through v0.1.2 GitHub releases published with prebuilt binaries.

### Related projects

- The README names crt.sh and Censys as Certificate Transparency drivers and links the web UI hosted from the same project.

### Sources

- <https://api.github.com/repos/lanrat/certgraph>
- <https://github.com/lanrat/certgraph>
- <https://lanrat.github.io/certgraph/>
- <https://github.com/lanrat/certgraph#readme>
- <https://lanrat.github.io/certgraph>
- <https://formulae.brew.sh/api/formula/certgraph.json>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - certgraph: normalized package name match | nixpkgs package indexes: pkgs/by-name/ce/certgraph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - certgraph: normalized package name match | MacPorts ports tree: net/certgraph/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/certgraph.yml](https://github.com/mxcl/pkgdb/blob/main/combined/certgraph.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
