跳转到主要内容

为Certbot的GleSYS DNS身份验证插件

撤回此发布的原因

由certbot-dns-glesys取代

项目描述

GleSYS DNS身份验证器用于Certbot

这允许自动完成在GleSYS DNS上管理的域的Certbot的DNS01挑战。

安装

$ pip install certbot-glesys

用法

使用以下权限创建API密钥

  • domain:list

  • domain:listrecords

  • domain:addrecord

  • domain:deleterecord

不要忘记给适当的IP地址范围访问权限。如果您想从任何地方运行客户端,请输入0.0.0.0/0

要使用身份验证器,您需要提供一些必需的选项

--certbot-glesys:auth-credentials (必需)

INI文件,包含您的GlesSYS API用户名和密码。

凭证文件必须具有以下格式

certbot_glesys:auth_user = CL00000
certbot_glesys:auth_password = apikeygoeshere

出于安全原因,文件不能被世界可读。您可以通过运行以下命令来解决这个问题

$ chmod 600 credentials.ini

然后您可以使用以下命令运行certbot

$ certbot certonly \
    --authenticator certbot-glesys:auth \
    --certbot-glesys:auth-credentials credentials.ini \
    -d domain.com

如果您想获取通配符证书,可以使用--server https://acme-v02.api.letsencrypt.org/directory标志和域名-d *.domain.com

免责声明

此插件既未与GleSYS Internet Services AB挂钩,也未获得其认可。

变更日志

版本 0.2.0

发布于2018年4月23日

这是一个重大更改,因为它需要 domain:list 权限。

  • 添加了对子域猜测的正确支持,pull request #4 (@Lillecarl)

版本0.1.1

发布于2018年3月15日

  • 将默认传播时间提高到90秒以提高可靠性

  • 修复了GlesysDomainApiClient中的错误基本URL,pull request #2 (@montaniasystemab)

版本0.1.0

发布于2017年9月30日

  • 初始版本

支持者:

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面