Use ACME.SH to apply for a certificate via 西部数码 DNS.

Published: 2025-08-20

Automatically issue certificates using the acme.sh client tool:

Chinese:

Make sure you download the official acme.sh and update it to the latest (related link)

md5 encrypted API key acquisition:
Please obtain the plaintext API key from Management Center - API Interface Settings page https://www.west.cn/manager/API/APIconfig.asp , then you also need to apply an additional layer of MD5 encryption to get the encrypted key.
md5 online encryption tools:  
https://www.md5hashgenerator.com/
https://www.jyshare.com/front-end/703/

1. Import authentication information

export WEST_Username="Your west.cn member username"
export WEST_Key="<md5 encrypted API key>"

2. Issue the certificate

./acme.sh --issue --dns dns_west_cn -d example.com -d *.example.com

The authentication information will be saved in ~/.acme.sh/account.conf for your later use.



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.