1.创建API密钥

https://console.cloud.tencent.com/cam/capi

2.创建的密钥导入linux变量

export Tencent_SecretId=""
export Tencent_SecretKey=""

3.下载acme.sh

curl https://get.acme.sh | sh -s email=my@example.com
cd /root/.acme.sh/
./acme.sh --issue --dns dns_tencent -d yourdomain  -d *.yourdomain

tips:你可以去dns记录查询一下,TXT记录是否正确添加

4.以后续签

/acme.sh --issue  d yourdomain  -d *.yourdomain  --nginx
最后修改:2024 年 09 月 20 日
如果觉得我的文章对你有用,请随意赞赏