Eric Zhang 257c9a7578 Add Snap support (#11) | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
certbot_dns_dnspod | %!s(int64=3) %!d(string=hai) anos | |
docs | %!s(int64=6) %!d(string=hai) anos | |
snap | %!s(int64=2) %!d(string=hai) anos | |
.gitattributes | %!s(int64=6) %!d(string=hai) anos | |
.gitignore | %!s(int64=6) %!d(string=hai) anos | |
Dockerfile | %!s(int64=6) %!d(string=hai) anos | |
LICENSE.txt | %!s(int64=6) %!d(string=hai) anos | |
MANIFEST.in | %!s(int64=6) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
local-oldest-requirements.txt | %!s(int64=6) %!d(string=hai) anos | |
readthedocs.org.requirements.txt | %!s(int64=6) %!d(string=hai) anos | |
setup.cfg | %!s(int64=6) %!d(string=hai) anos | |
setup.py | %!s(int64=3) %!d(string=hai) anos | |
snap-constraints.txt | %!s(int64=2) %!d(string=hai) anos | |
snap-requirements.txt | %!s(int64=2) %!d(string=hai) anos |
A certbot dns plugin to obtain certificates using dnspod.
https://www.dnspod.cn/console/user/security
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
dns_dnspod_api_id = 12345
dns_dnspod_api_token = 1234567890abcdef1234567890abcdef
chmod 600 /path/to/credentials.ini
certbot certonly -a dns-dnspod \
--dns-dnspod-credentials /path/to/credentials.ini \
-d example.com \
-d "*.example.com"