A certbot dns plugin to obtain certificates using dnspod.
Branch: master
Clone or download
Latest commit 0cb2e59 Sep 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
certbot_dns_dnspod fix error while obtaining certification for sub domain Aug 31, 2018
docs Initial commit Mar 14, 2018
.gitattributes
.gitignore Initial commit Mar 14, 2018
Dockerfile Initial commit Mar 14, 2018
LICENSE.txt Initial commit Mar 14, 2018
MANIFEST.in Initial commit Mar 14, 2018
README.md Update README Sep 13, 2018
local-oldest-requirements.txt Initial commit Mar 14, 2018
readthedocs.org.requirements.txt Initial commit Mar 14, 2018
setup.cfg Initial commit Mar 14, 2018
setup.py remove dependency Aug 31, 2018

README.md

DNSPod DNS Authenticator plugin for Certbot

A certbot dns plugin to obtain certificates using dnspod.

Obtain API Token

https://www.dnspod.cn/console/user/security

Install

git clone https://github.com/tengattack/certbot-dns-dnspod
cd certbot-dns-dnspod
sudo python setup.py install

If 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 install

Credentials File

certbot_dns_dnspod:dns_dnspod_api_id = 12345
certbot_dns_dnspod:dns_dnspod_api_token = 1234567890abcdef1234567890abcdef
chmod 600 /path/to/credentials.ini

Obtain Certificates

certbot certonly -a certbot-dns-dnspod:dns-dnspod \
    --certbot-dns-dnspod:dns-dnspod-credentials /path/to/credentials.ini \
    -d example.com \
    -d "*.example.com"