certbot-dns-bootdns-0.1.1
توضیحات
bootDNS Authenticator plugin for Certbot
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | certbot-dns-bootdns-0.1.1 |
| نام | certbot-dns-bootdns |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | bootDNS |
| ایمیل نویسنده | pypi@bootdns.app |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/certbot-dns-bootdns/ |
| مجوز | Apache License 2.0 |
# Certbot plugin for authentication using bootDNS
This is a plugin for [Certbot](https://certbot.eff.org/) that uses the [bootDNS](https://github.com/bootDNS/bootDNS-admin) API
automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records on a domain name.
## Installation
### Python / pip
Install this package via pip in the same python environment where you installed `certbot`.
```commandline
pip install certbot-dns-bootdns
```
## Command lines
To start using DNS authentication for the bootDNS API, pass the following arguments on certbot's command line:
| Option | Description |
|------------------------------------------------------------|--------------------------------------------------|
| `--authenticator dns-bootdns` | Select the authenticator plugin (Required) |
| `--dns-bootdns-credentials` | bootDNS API credentials INI file. (Required) |
| `--dns-bootdns-propagation-seconds` | Seconds to wait for the TXT record to propagate |
## Usage
1. Make sure the plugin is installed and connected. You can verify this by running `certbot plugins`. `dns-bootdns` should be in the list.
2. Go to your [bootDNS admin](https://github.com/bootDNS/bootDNS-admin) instance, and go to Settings -> API Tokens to create a new API Token.
3. Create a `credentials.ini` config file with the following content:
```ini
dns_bootdns_host = <host>
dns_bootdns_token = <token>
```
Replace `<host>` with hostname for your bootDNS instance. - Example: bootdns.example.com
Replace `<token>` with your bootDNS API Tokens.
4. Run `certbot` and direct it to use the plugin for authentication and to use the config file previously created:
```sh
certbot certonly \\
--authenticator dns-bootdns \\
--dns-bootdns-credentials /path/to/credentials.ini \\
-d example.com
```
Use `*.example.com` if you want to generate it as a wildcard certificate.
## Development
### Install local files as python package
Run the following command in the repository root (so you are in the folder containing the `setup.py`):
```sh
pip3 install -e ./
```
## Distribution
- PyPI: https://pypi.org/project/certbot-dns-bootdns/
نیازمندی
| مقدار | نام |
|---|---|
| >=0.31.0 | acme |
| >=0.31.0 | certbot |
| - | dnspython |
| - | mock |
| - | setuptools |
| - | requests |
| - | tldextract |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl certbot-dns-bootdns-0.1.1:
pip install certbot-dns-bootdns-0.1.1.whl
نصب پکیج tar.gz certbot-dns-bootdns-0.1.1:
pip install certbot-dns-bootdns-0.1.1.tar.gz