A certbot dns plugin to obtain certificates using aliyun.
https://ram.console.aliyun.com/
And ensure your RAM account has AliyunDNSFullAccess permission.
pip install certbot-dns-aliyunFor Snap:
sudo snap install certbot-dns-aliyun
sudo snap set certbot trust-plugin-with-root=ok
sudo snap connect certbot:plugin certbot-dns-aliyun
/snap/bin/certbot pluginsOr manually:
git clone https://github.com/tengattack/certbot-dns-aliyun
cd certbot-dns-aliyun
sudo python setup.py installIf you are using certbot-auto, you should run virtualenv first:
# CentOS 7
virtualenv --no-site-packages --python "python2.7" "/opt/eff.org/certbot/venv"
/opt/eff.org/certbot/venv/bin/python2.7 setup.py installdns_aliyun_access_key = 12345678
dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdefchmod 600 /path/to/credentials.inicertbot certonly \
--authenticator=dns-aliyun \
--dns-aliyun-credentials='/path/to/credentials.ini' \
-d "*.example.com,example.com"Please refer to scripts