快速入门
下载 PKI Trust Manager、签发第一张证书并自动续期,约需十分钟。
本快速入门将指导您使用免费的 Community Edition(最多支持 500 张证书),约十分钟内通过 PKI Trust Manager 签发证书。
1. 获取 PKI Trust Manager#
- 本地部署:从下载页面下载 Community Edition 并运行安装程序。
- 作为服务使用:免费注册 PKI Trust Cloud,无需安装。
2. 创建 ACME 应用#
- 打开 Web Admin UI,进入 Integrations → New。
- 将 Type 设置为 ACME。
- 将 Domain 设置为客户端使用的 ACME 主机名(必须与
Host标头一致,不包含端口)。 - 选择已关联到 CA 的 Certificate template。
- 将 Require domain validation 设为
Off以自动通过挑战,或设为On使用http-01/dns-01。
3. 创建 ACME (EAB) 用户#
- 进入 Users → Create,选择类型 ACME。
- 界面会生成两个值,请保存:
- Key ID (KID)
- HMAC key
- 这些是客户端 EAB 凭据(
--eab-kid/--eab-hmac-key)。
4. 使用 acme.sh 签发证书#
# install (one time)
curl https://get.acme.sh | sh
# issue against your ACME directory
~/.acme.sh/acme.sh --issue \
--server https://acme.example.com/acme/directory \
-d acme.example.com \
--eab-kid YOUR_KID \
--eab-hmac-key 'YOUR_HMAC_KEY' \
--webroot /tmp/acme-webroot \
--keylength 2048 \
--force证书将保存在 ~/.acme.sh/acme.example.com/,并自动续期。
5. 验证#
openssl x509 -in <cert-file> -noout -subject -issuer -dates -ext subjectAltName在 Web Admin UI 的 Certificates 中可看到该注册项,状态为 Issued。
后续步骤
- 使用 GitHub 上的 Boltron-AI 接入整个环境。
- 自动化其他客户端:certbot、win-acme 等。