Sen descrición

tengattack fc995c2939 Fix dnspod general error %!s(int64=3) %!d(string=hai) anos
certbot_dns_dnspod fc995c2939 Fix dnspod general error %!s(int64=3) %!d(string=hai) anos
docs 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
.gitattributes 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
.gitignore 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
Dockerfile 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
LICENSE.txt 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
MANIFEST.in 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
README.md 0cb2e59764 Update README %!s(int64=6) %!d(string=hai) anos
local-oldest-requirements.txt 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
readthedocs.org.requirements.txt 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
setup.cfg 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
setup.py 70833e54c2 Bump version to 0.24.0 %!s(int64=5) %!d(string=hai) anos

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"