Sen descrición

richard.she b8ce943b11 fix error msg change condition hai 1 ano
certbot_dns_dnspod b8ce943b11 fix error msg change condition hai 1 ano
docs 12b0e070f2 Initial commit %!s(int64=6) %!d(string=hai) anos
snap e94bc6ffaa Update website for Snap %!s(int64=2) %!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 257c9a7578 Add Snap support (#11) %!s(int64=2) %!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 04bbd26e3c Bump version to 0.24.1 %!s(int64=3) %!d(string=hai) anos
snap-constraints.txt 257c9a7578 Add Snap support (#11) %!s(int64=2) %!d(string=hai) anos
snap-requirements.txt 257c9a7578 Add Snap support (#11) %!s(int64=2) %!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

Pip:

sudo pip install git+https://github.com/tengattack/certbot-dns-dnspod.git

Snap:

sudo snap install certbot-dns-dnspod
sudo snap set certbot trust-plugin-with-root=ok
sudo snap connect certbot:plugin certbot-dns-dnspod

Credentials File

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

Obtain Certificates

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