1. 说明
说明 · acmesh-official/acme.sh Wiki · GitHub
参照说明文档,安装acme工具
- 使用脚本
]$ curl https://get.acme.sh | sh -s email=ssl@qq.com
- 使用源码
]$ git clone https://github.com/acmesh-official/acme.sh.git
]$ cd acme.sh
]$ sh acme.sh --install -m ssl@qq.com
由于acme被ZeroSSL收购,所以默认的证书服务商是ZeroSSL,但是此证书生成时会携带邮箱,因此更换为letsencrypt。
使用单独的命令或者在证书生成的命令中加入
--server
来指定服务商1️⃣单独命令
acme.sh --set-default-ca --server letsencrypt
2️⃣生成证书命令
acme.sh --issue -d xxx.com --d