# 使用 Homebrew, MacPorts, Nix 安装 certgraph

查看 certgraph 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install certgraph
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install certgraph
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:certgraph
- **软件包管理器:** Homebrew
- **版本:** 0.1.2
- **来源摘要:** Crawl the graph of certificate Alternate Names
- **主页:** <https://lanrat.github.io/certgraph/>
- **仓库:** <https://github.com/lanrat/certgraph>
- **最后更新:** 2026-07-27T19:20:57+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- certgraph (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.2
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- 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)


## 来源

- 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
