Certbot的ArvanCloud DNS身份验证程序插件
certbot-dns-arvancloud的Python项目详细描述
ArvanCloud DNS身份验证程序certbot插件
这个certbot插件自动执行 完成一个挑战 随后使用arvanclouddnsapi删除TXT记录。在
安装
通过pip在安装certbot的同一python环境中安装这个包。在
pip install certbot-dns-arvancloud
使用
要开始对ArvanCloud DNS API使用DNS身份验证,请在certbot的命令行上传递以下参数:
Option | Description |
---|---|
^{ | select the authenticator plugin (Required) |
^{ | ArvanCloud DNS API credentials INI file. (Required) |
^{ | Seconds to wait for the TXT record to propagate |
证书
从位于的ArvanCloud控制面板转到“API令牌”并添加个人访问令牌。在
示例credentials.ini
文件:
示例
{cd5>获取证书}
certbot certonly \\ --authenticator certbot-dns-arvancloud:dns-arvancloud \\ --certbot-dns-arvancloud:dns-arvancloud-credentials /path/to/my/arvancloud.ini \\ -d example.com
获取*.example.com
的证书
certbot certonly \\ --authenticator certbot-dns-arvancloud:dns-arvancloud \\ --certbot-dns-arvancloud:dns-arvancloud-credentials /path/to/my/arvancloud.ini \\ -d '*.example.com'
多亏了
此包基于https://github.com/ctrlaltcoop/certbot-dns-hetzner和https://github.com/m42e/certbot-dns-ispconfig
- 项目
标签: