华为云域名DNS解析已经可以使用acme.sh 免费签发letsencrypt免费SSL证书

3.75K 浏览资源分享
0

acme.sh 现已将华为云解析 API 加入 DNS 自动验证体系,华为云域名DNS解析已经可以使用acme.sh 免费签发letsencrypt免费SSL证书。方法如下:

Use HuaweiCloud API
设置环境变量:

ProjectID can be found at here It seems that project ID can be retrieved automatically, but this dnsapi does not implement it yet.

export HUAWEICLOUD_Username=<Your Username> # Usually hwxxxxxx
export HUAWEICLOUD_Password=<Your Password>
export HUAWEICLOUD_ProjectID=<A Project ID>

签发证书:

#To issue a cert: 单个域名
 ./acme.sh --issue --dns dns_huaweicloud -d example.com -d www.example.com
  #To issue a wildcard cert:泛域名
 ./acme.sh --issue --dns dns_huaweicloud -d example.com -d *.example.com


关于acme.sh详细的使用方法,请参考教程:https://wzfou.com/letsencrypt/


分享到:
kpro 已回答的问题 2021年3月26日
添加评论
0

好的Get了


分享到:
kpro 已回答的问题 2021年3月26日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register