Robin Thoni 432c1886d3 fixed description | 7 years ago | |
---|---|---|
.idea | 7 years ago | |
certbot_pdns | 7 years ago | |
.gitignore | 7 years ago | |
README.md | 7 years ago | |
certbot-pdns.json | 7 years ago | |
setup.cfg | 7 years ago | |
setup.py | 7 years ago |
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
An example file is provided in /usr/local/etc/letsencrypt/certbot-pdns.json
:
{
"api-key": "change_it",
"base-url": "http://127.0.0.1:34022/api/v1",
"axfr-time": 5
}
Configuration file must be placed in /etc/letsencrypt/certbot-pdns.json
or be specified with argument certbot-pdns-config
.
Configuration keys:
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
:
certbot --agree-tos --text --renew-by-default --authenticator certbot-pdns:auth certonly -d example.com -d www.example.com