acme.sh
实现了 ACME 客户端协议的 shell 脚本,是
certbot的替代品。 另请参阅:acme.sh dns。 更多信息:https://github.com/acmesh-official/acme.sh#2-just-issue-a-cert。
- 使用网站根目录模式签发证书:
acme.sh --issue /
- 使用独立模式和 80 端口为多个域名签发证书:
acme.sh --issue --standalone
- 使用独立 TLS 模式和 443 端口签发证书:
acme.sh --issue --alpn
- 使用运行中的
nginx的配置来签发证书:
acme.sh --issue --nginx
- 使用运行中的 Apache 的配置来签发证书:
acme.sh --issue --apache
- 使用自动 DNS API 模式签发一个通配符(*)证书:
acme.sh --issue --dns
- 将证书文件安装到指定位置(对自动更新证书很有用):
acme.sh --key-file / --fullchain-file / --reloadcmd ""
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
