域名系统验证插件
certbot-anx的Python项目详细描述
用于certbot的anx dns身份验证器
这允许自动完成Certbot's <https://github.com/certbot/certbot>
_
在Loopia <https://dyn.anx.se/api/dns/>
dns上管理的域的dns01查询。
安装
$ pip install certbot-anx
用法
插件需要在此处创建的api密钥:http://dyn.anx.se/users/users.jsf?i=2
要使用验证器,您需要提供一些必需的选项:
--certbot-anx:credentials
(必需)
anx api凭据ini文件。(默认值:无)
凭证文件必须具有以下格式:
certbot_anx:api_key = codegoeshere
出于安全原因,该文件不能是世界可读的。你可以通过 跑步:
$ chmod 600 credentials.ini
然后您可以使用:
运行certbot
$ sudo certbot certonly \
--authenticator certbot-anx:auth \
--certbot-anx:auth-credentials credentials.ini \
-d domain.com
如果要获取通配符证书,可以使用
--server https://acme-v02.api.letsencrypt.org/directory
标志和域
-d *.domain.com