- 阿里云注册用户,添加dns可编辑权限
- curl https://get.acme.sh | sh -s [email protected]
- 注意大小写export Ali_Key="<key>" export Ali_Secret="<secret>"- 执行阿里自动dns
cd ~/.acme.sh/
./acme.sh --issue --dns dns_ali -d example.com -d *.example.com
- 如果报错:get authz objec with invalid status, please try again later 改为letsencrypt
./acme.sh --set-default-ca --server letsencrypt
执行完成后相关文件都在:~/.acme.sh/ 目录
参考
https://github.com/acmesh-official/acme.sh
https://github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_ali
标签:https,acme,--,ssl,sh,dns,com From: https://www.cnblogs.com/winstonsias/p/18052191