1. 安装
curl https://get.acme.sh | sh
2. 绑定邮箱
~/.acme.sh/acme.sh --register-account -m my@example.com(随便啥邮箱)
3. 配置腾讯云key到环境变量
export Tencent_SecretId=""
export Tencent_SecretKey=""

4. 申请泛域名证书
acme.sh --issue --dns dns_tencent -d xxx.cn -d *.xxx.cn

5. 效果

网友评论