certbot-dns-corenetworks/README.md

66 lines
2.9 KiB
Markdown
Raw Permalink Normal View History

2020-04-19 17:57:48 +02:00
# certbot-dns-corenetworks
2021-01-17 15:23:46 +01:00
[![Build Status](https://img.shields.io/drone/build/thegeeklab/certbot-dns-corenetworks?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)](https://drone.thegeeklab.de/thegeeklab/certbot-dns-corenetworks)
2020-04-19 17:57:48 +02:00
[![Python Version](https://img.shields.io/pypi/pyversions/certbot-dns-corenetworks.svg)](https://pypi.org/project/certbot-dns-corenetworks/)
[![PyPi Status](https://img.shields.io/pypi/status/certbot-dns-corenetworks.svg)](https://pypi.org/project/certbot-dns-corenetworks/)
[![PyPi Release](https://img.shields.io/pypi/v/certbot-dns-corenetworks.svg)](https://pypi.org/project/certbot-dns-corenetworks/)
2020-09-24 21:19:25 +02:00
[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/certbot-dns-corenetworks)](https://codecov.io/gh/thegeeklab/certbot-dns-corenetworks)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/certbot-dns-corenetworks)](https://github.com/thegeeklab/certbot-dns-corenetworks/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/certbot-dns-corenetworks)](https://github.com/thegeeklab/certbot-dns-corenetworks/blob/main/LICENSE)
2020-04-19 17:57:48 +02:00
2021-03-20 16:23:14 +01:00
> **Discontinued:** This project is no longer maintained.
2020-04-19 18:08:02 +02:00
## Install
Install this package via pip in the same python environment where you installed your certbot.
```console
pip install certbot-dns-corenetworks
```
## Usage
To start using DNS authentication for the Core Networks DNS API, pass the following arguments on certbot's command line:
2021-01-17 15:10:33 +01:00
| Option | Description |
| ---------------------------------------- | ------------------------------------------------ |
2021-01-02 00:09:37 +01:00
| `--authenticator dns-corenetworks` | select the authenticator plugin (Required) |
| `--dns-corenetworks-credentials` | Hetzner DNS API credentials INI file. (Required) |
| `--dns-corenetworks-propagation-seconds` | Seconds to wait for the TXT record to propagate |
2020-04-19 18:08:02 +02:00
## Credentials
```ini
2021-01-02 00:09:37 +01:00
dns_corenetworks_username = asaHB12r
dns_corenetworks_password = secure_passwor
2020-04-19 18:08:02 +02:00
```
## Examples
To acquire a certificate for `example.com`
```bash
2021-01-01 23:39:20 +01:00
certbot certonly \
2021-01-02 00:09:37 +01:00
--authenticator dns-corenetworks \
--dns-corenetworks-credentials /path/to/my/credentials.ini \
2020-04-19 18:08:02 +02:00
-d example.com
```
2021-01-01 23:39:20 +01:00
To acquire a certificate for `*.example.com`
2020-04-19 18:08:02 +02:00
```bash
2021-01-01 23:39:20 +01:00
certbot certonly \
2021-01-02 00:09:37 +01:00
--authenticator dns-corenetworks \
--dns-corenetworks-credentials /path/to/my/credentials.ini \
2020-04-19 18:08:02 +02:00
-d '*.example.com'
```
2020-09-24 21:19:25 +02:00
## Contributors
2020-04-19 17:57:48 +02:00
2021-01-01 23:43:22 +01:00
Special thanks goes to all [contributors](https://github.com/thegeeklab/certbot-dns-corenetworks/graphs/contributors). If you would like to contribute,
please see the [instructions](https://github.com/thegeeklab/certbot-dns-corenetworks/blob/main/CONTRIBUTING.md).
2020-04-19 17:57:48 +02:00
2020-09-24 21:19:25 +02:00
## License
2020-04-19 17:57:48 +02:00
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/certbot-dns-corenetworks/blob/main/LICENSE) file for details.