macOS
brew install legolocal Homebrew formula metadata
sudo port install legoMacPorts ports tree · security/lego/Portfile · 来源: api.github.com
安装
brew install legolocal Homebrew formula metadata
sudo port install legoMacPorts ports tree · security/lego/Portfile · 来源: api.github.com
sudo apk add legoAlpine Linux edge package indexes · lego · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#legonixpkgs package indexes · pkgs/by-name/le/lego/package.nix · 来源: api.github.com
sudo pacman -S legoArch Linux sync databases · lego · 来源: geo.mirror.pkgbuild.com
sudo zypper install legoopenSUSE Tumbleweed package metadata · lego · 来源: download.opensuse.org
scoop install main/legoScoop official bucket manifest trees · bucket/lego.json · 来源: api.github.com
winget install --id GoACME.lego -eWindows Package Manager source index · GoACME.lego · 来源: cdn.winget.microsoft.com
概览
Let's Encrypt client and ACME library
历史
Lego is an ACME client and Go library for obtaining, renewing, and revoking certificates from Let's Encrypt and other ACME certificate authorities.
The project began in 2015, before Let's Encrypt's public beta and before ACME became an RFC. A maintainer discussion explains that lego started around the need to make HTTPS automatic in a Go web-server project, at a time when Certbot still had a different name and ACME client tooling was experimental.
Lego evolved into both a command-line client and an embeddable Go library. Its docs emphasize support for ACME v2/RFC 8555, multiple ACME servers, HTTP-01, DNS-01, TLS-ALPN-01, DNS-PERSIST-01, wildcard and SAN certificates, and a large DNS-provider integration matrix.
Lego's package-manager adoption is broad because certificate automation needs simple deployment on servers, containers, NAS devices, and CI hosts. The Homebrew, Debian, Ubuntu, Alpine, Arch, MacPorts, Nix, Scoop, winget, and zypper package presence in the input mirrors that role: it is a practical infrastructure binary rather than a language-only library.
Users commonly call `lego run` or `lego renew` with an email, domains, and a challenge method. DNS-01 support is especially important for wildcard certificates and machines that cannot expose HTTP challenges; the docs maintain per-provider credential and environment-variable pages for that integration surface.
Lego is package-nerd significant because it turned the messy edge of ACME automation into a portable Go binary with hundreds of provider integrations. It also became a library substrate for other Go programs that wanted certificate automation without shelling out to Certbot.
安全态势
没有找到 lego 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lego | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/go-acme/lego
安装元数据
| 软件包键 | brew:lego |
|---|---|
| 版本 | 5.3.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lego |
| 主页 | https://go-acme.github.io/lego/ |
| 仓库 | https://github.com/go-acme/lego |
| 上游文档 | https://go-acme.github.io/lego |
| 许可证 | MIT |
| 源码归档 | https://github.com/go-acme/lego/archive/refs/tags/v5.3.1.tar.gz |
| 最后更新 | 2026-07-22T00:16:44Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lego |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lego 4.9.1-2
Let's Encrypt client
https://github.com/go-acme/lego
sudo apt install legolego
nix profile install nixpkgs#legolego 4.9.1-2
Let's Encrypt client
https://github.com/go-acme/lego
sudo apt install legolego 4.35.2-r1
Let's Encrypt client and ACME library written in Go
https://github.com/go-acme/lego
sudo apk add legolego-doc 4.35.2-r1
Let's Encrypt client and ACME library written in Go (documentation)
https://github.com/go-acme/lego
sudo apk add lego-doclego 5.2.2-1
Lets Encrypt client and ACME library
https://go-acme.github.io/lego
sudo pacman -S legolego 5.2.2-1.1
Let's Encrypt/ACME client and library written in Go
https://github.com/go-acme/lego
sudo zypper install legolego
sudo port install legomain/lego
scoop install main/legoGoACME.lego
winget install --id GoACME.lego -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.