使用ACME.SH通过西部数码DNS申请证书
发布时间:2025-08-20
通过acme.sh客户端工具自动颁发证书:
中文:
确保您下载的官方acme.sh 并更新到了最新 (相关链接)
md5加密后的API密钥获取: 请从 管理中心-API接口设置页面 https://www.west.cn/manager/API/APIconfig.asp 获取API的明文密钥,然后您还需要经过一层MD5加密得到加密密钥 md5在线加密工具: https://www.md5hashgenerator.com/ https://www.jyshare.com/front-end/703/
1、引入认证信息
export WEST_Username="您在west.cn的会员用户名" export WEST_Key="<md5加密后的API密钥>"
2、执行证书申请
./acme.sh --issue --dns dns_west_cn -d example.com -d *.example.com
认证信息将会保存在 ~/.acme.sh/account.conf 以供您后期使用
English:
Please visit https://www.west.cn/manager/API/APIconfig.asp to obtain the Plaint API key.
<Your Encryption APIKey> = md5(<Your Plaint APIKey>)
md5 tools:
https://www.md5hashgenerator.com/
https://www.jyshare.com/front-end/703/
export WEST_Username="<Your Username>" export WEST_Key="<Your Encryption APIKey>"
To issue a cert, run the following:
./acme.sh --issue --dns dns_west_cn -d example.com -d *.example.com
The login variables will be saved in ~/.acme.sh/account.conf and will be reused when needed.
