# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget, zypper 安装 certbot

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

## 安装

```sh
sudo av install brew:certbot
```

## 代理安全回答

certbot manages TLS certificates and can change web-server certificate state.

- **凭据访问:** Reads account keys, private keys, webroot paths, and DNS provider credentials.
- **远程变更:** Can request certificates and modify local server config or DNS plugins.
- **发布/制品风险:** Can create certificates used by public services.
- **推荐控制:** Gate renew, certonly, private-key reads, and DNS credential use.
- **代理使用指南:** Allow certificate status checks; require approval before issuing, renewing, or editing live certs.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install certbot
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install certbot
```

  证据: MacPorts ports tree: security/certbot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add certbot
```

  证据: Alpine Linux edge package indexes: certbot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install certbot
```

  证据: Debian stable package indexes: certbot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install certbot
```

  证据: Fedora Rawhide package metadata: certbot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#certbot
```

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

- pacman (92%):

```sh
sudo pacman -S certbot
```

  证据: Arch Linux sync databases: certbot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install python313-certbot
```

  证据: openSUSE Tumbleweed package metadata: python313-certbot from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id EFF.Certbot -e
```

  证据: Windows Package Manager source index: EFF.Certbot from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:certbot
- **软件包管理器:** Homebrew
- **版本:** 5.7.0
- **来源摘要:** Tool to obtain certs from Let's Encrypt and autoenable HTTPS
- **主页:** <https://certbot.eff.org/>
- **仓库:** <https://github.com/certbot/certbot>
- **最后更新:** 2026-07-16T20:51:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- certbot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Certbot is EFF's ACME client for obtaining and renewing HTTPS certificates, most commonly from Let's Encrypt, and optionally configuring web servers such as Apache and nginx.

### 项目历史

The repository was created in 2014 during the early Let's Encrypt client era. In 2016, EFF announced the client would move under the Certbot name to distinguish the client from the Let's Encrypt certificate authority and ISRG organization.

### 采用历史

Certbot rode the same adoption wave as Let's Encrypt: EFF's 2016 announcement noted Let's Encrypt had issued its three millionth certificate, and EFF later reported Certbot installed on more than 4 million web servers maintaining certificates for more than 31 million websites.

### 使用方式

Certbot is intended to run on the server that hosts the site. It obtains certificates, saves them under /etc/letsencrypt/live, renews them on a schedule, and can use plugins for Apache, nginx, webroot, standalone, manual, and DNS-based validation.

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

Certbot is one of the canonical examples of a security CLI becoming distribution infrastructure: it appears in many package managers, replaced the older letsencrypt command name in user documentation, deprecated certbot-auto, and standardized operational files under /etc/letsencrypt.

### 时间线

- 2014: Public certbot/certbot repository created.
- 2016: EFF announced the Let's Encrypt client rename to Certbot and the new certbot.eff.org site.
- 2025: Certbot 5.0.0 released, removing older deprecated APIs and Python 3.9 support.
- 2026: Certbot 5.6.0 released according to the official changelog.

### Related projects

- Let's Encrypt is the default certificate authority commonly used with Certbot.
- ACME is the protocol Certbot speaks, standardized as RFC 8555.
- certbot-apache, certbot-nginx, and Certbot DNS plugins provide authenticator and installer integrations.

### 来源

- <https://api.github.com/repos/certbot/certbot>
- <https://github.com/certbot/certbot>
- <https://certbot.eff.org/>
- <https://certbot.eff.org/docs>
- <https://www.eff.org/deeplinks/2016/05/announcing-certbot-new-tls-robot>
- <https://www.eff.org/deeplinks/2024/03/should-caddy-and-traefik-replace-certbot>
- <https://github.com/certbot/certbot/blob/main/certbot/CHANGELOG.md>
- <https://formulae.brew.sh/api/formula/certbot.json>


## 安全说明

没有找到 certbot 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- macOS: ~/Library/Application Support/letsencrypt
- Unix: ~/.config/letsencrypt, ~/.letsencrypt
## 其他软件包管理器记录

- Debian apt - certbot - 4.0.0-2+deb13u1: normalized package name match | Debian stable package indexes: certbot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | automatically configure HTTPS using Let's Encrypt | https://certbot.eff.org/
- Nix - certbot: normalized package name match | nixpkgs package indexes: pkgs/by-name/ce/certbot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - certbot - 2.9.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: certbot from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | automatically configure HTTPS using Let's Encrypt | https://certbot.eff.org/
- apk - certbot - 5.7.0-r0: normalized package name match | Alpine Linux edge package indexes: certbot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An ACME client that can update Apache/Nginx configurations | https://github.com/certbot/certbot
- apk - certbot-pyc - 5.7.0-r0: normalized package name match | Alpine Linux edge package indexes: certbot-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for certbot | https://github.com/certbot/certbot
- dnf - certbot - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: certbot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A free, automated certificate authority client | https://github.com/certbot/certbot
- dnf - python-acme-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-acme-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-acme-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-cloudflare-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-cloudflare-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-cloudflare-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-digitalocean-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-digitalocean-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-digitalocean-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-dnsimple-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-dnsimple-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-dnsimple-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-dnsmadeeasy-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-dnsmadeeasy-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-dnsmadeeasy-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-gehirn-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-gehirn-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-gehirn-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-google-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-google-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-google-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-linode-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-linode-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-linode-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-luadns-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-luadns-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-luadns-doc libraries | https://github.com/certbot/certbot
- dnf - python-certbot-dns-nsone-doc - 5.6.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: python-certbot-dns-nsone-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documenation for python-certbot-dns-nsone-doc libraries | https://github.com/certbot/certbot


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
