Robin Thoni 5d1e939120 pycharm files | 7 vuotta sitten | |
---|---|---|
.idea | 7 vuotta sitten | |
certbot_pdns | 7 vuotta sitten | |
.gitignore | 7 vuotta sitten | |
README.md | 7 vuotta sitten | |
certbot-pdns.json | 7 vuotta sitten | |
setup.cfg | 7 vuotta sitten | |
setup.py | 7 vuotta sitten |
Authenticator plugin for certbot (https://certbot.eff.org/).
Perform a DNS-01 challenge using TXT record in a PowerDNS (https://doc.powerdns.com/md/)
The advantages are:
Install or upgrade certbot:
pip install -U certbot
Install certbot-pdns from sources:
python setup.py install
Check that certbot-pdns:auth
is listed when executing certbot --text plugins
Configuration file: /etc/letsencrypt/certbot-pdns.json
:
api-key
in file /etc/powerdns/pdns.conf
api=yes
and api-readonly=no
in file /etc/powerdns/pdns.conf
Use certbot as usual but specify --authenticator certbot-pdns:auth certonly
:
certbot --agree-tos --text --renew-by-default --authenticator certbot-pdns:auth certonly -d example.com -d www.example.com