certbot-dns-hetzner-2.0.0
توضیحات
Hetzner DNS Authenticator plugin for Certbot
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | certbot-dns-hetzner-2.0.0 |
| نام | certbot-dns-hetzner |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ctrl.alt.coop |
| ایمیل نویسنده | kontakt@ctrl.alt.coop |
| آدرس صفحه اصلی | https://github.com/ctrlaltcoop/certbot-dns-hetzner |
| آدرس اینترنتی | https://pypi.org/project/certbot-dns-hetzner/ |
| مجوز | Apache License 2.0 |
# Hetzner DNS Authenticator certbot plugin
[](https://codecov.io/gh/ctrlaltcoop/certbot-dns-hetzner)

[](https://badge.fury.io/py/certbot-dns-hetzner)

This certbot plugin automates the process of
completing a dns-01 challenge by creating, and
subsequently removing, TXT records using the Hetzner DNS API.
## Requirements
### For certbot < 2
Notice that this plugin is only supporting certbot>=2.0 from 2.0 onwards. For older certbot versions use 1.x releases.
## Install
Install this package via pip in the same python environment where you installed your certbot.
```
pip install certbot-dns-hetzner
```
## Usage
To start using DNS authentication for the Hetzner DNS API, pass the following arguments on certbot's command line:
| Option | Description |
|------------------------------------------------------------|--------------------------------------------------|
| `--authenticator dns-hetzner` | select the authenticator plugin (Required) |
| `--dns-hetzner-credentials` | Hetzner DNS API credentials INI file. (Required) |
| `--dns-hetzner-propagation-seconds` | Seconds to wait for the TXT record to propagate |
## Credentials
From the hetzner DNS control panel at https://dns.hetzner.com go to "API Tokens" and add a personal access token.
An example ``credentials.ini`` file:
```ini
dns_hetzner_api_token = nohnah4zoo9Kiejee9aGh0thoopee2sa
```
## Examples
To acquire a certificate for `example.com`
```shell script
certbot certonly \\
--authenticator dns-hetzner \\
--dns-hetzner-credentials /path/to/my/hetzner.ini \\
-d example.com
```
To acquire a certificate for ``*.example.com``
```shell script
certbot certonly \\
--authenticator dns-hetzner \\
--dns-hetzner-credentials /path/to/my/hetzner.ini \\
-d '*.example.com'
```
## Thanks to
Of course certbot, which examples and documentation I used to implement this plugin. And to https://github.com/m42e/certbot-dns-ispconfig which served as an excellent example and README template as well.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.0.0 | certbot |
| - | setuptools |
| - | requests |
| - | requests-mock |
| >=3.11.6 | dns-lexicon |
| <=2.5 | parsedatetime |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl certbot-dns-hetzner-2.0.0:
pip install certbot-dns-hetzner-2.0.0.whl
نصب پکیج tar.gz certbot-dns-hetzner-2.0.0:
pip install certbot-dns-hetzner-2.0.0.tar.gz