certbot的powerdns dns身份验证程序插件
certbot-dns-powerdns的Python项目详细描述
certbot dns powerdns
用于Certbot的PowerDNS DNS身份验证程序插件。
这个插件是从头开始构建的,遵循开发风格和生命周期
中找到的其他certbot-dns-*
插件
Official Certbot Repository。
安装
pip install --upgrade certbot
pip install certbot-dns-powerdns
验证:
$ certbot plugins --text
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* certbot-dns-powerdns:dns-powerdns
Description: Obtain certificates using a DNS TXT record (if you are using
PowerDNS for DNS.)
Interfaces: IAuthenticator, IPlugin
Entry point: dns-powerdns = certbot_dns_powerdns.dns_powerdns:Authenticator
...
...
配置
凭据文件(例如~/pdns-credentials.ini
)应该如下所示:
certbot_dns_powerdns:dns_powerdns_api_url = https://api.mypowerdns.example.org
certbot_dns_powerdns:dns_powerdns_api_key = AbCbASsd!@34
用法
certbot ... \
--authenticator certbot-dns-powerdns:dns-powerdns
--certbot-dns-powerdns:dns-powerdns-credentials ~/pdns-credentials.ini
certonly
常见问题解答
为什么插件的名字这么长?这遵循上游术语:certbot-dns-<dns-provider>
。
为什么我必须在名称中使用:
分隔符?为什么配置文件参数如此怪异?
这是certbot接口对third-party插件的限制。
有关详细信息,请阅读讨论:
- https://github.com/certbot/certbot/issues/6504#issuecomment-473462138
- https://github.com/certbot/certbot/issues/6040
- https://github.com/certbot/certbot/issues/4351
- https://github.com/certbot/certbot/pull/6372
许可证
版权所有(c)2019DT Pan-Net s.r.o