Skip to main content

Dynu DNS Authenticator plugin for Certbot

Project description

certbot-dns-dynu

Dynu DNS Authenticator plugin for Certbot.

This plugin is built from the ground up and follows the development style and life-cycle of other certbot-dns-* plugins found in the Official Certbot Repository.

Installation

pip install --upgrade certbot
pip install certbot-dns-dynu

Verify:

$ certbot plugins --text

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* dns-dynu
Description: Obtain certificates using a DNS TXT record (if you are using Dynu
for DNS.)
Interfaces: Authenticator, Plugin
Entry point: dns-dynu = certbot_dns_dynu.dns_dynu:Authenticator

...
...

Configuration

The credentials file e.g. ~/dynu-credentials.ini should look like this:

dns_dynu_auth_token = AbCbASsd!@34

Usage

certbot ... \
        --authenticator dns-dynu  \
        --dns-dynu-credentials ~/dynu-credentials.ini \
        certonly

FAQ

Why such long name for a plugin?

This follows the upstream nomenclature: certbot-dns-<dns-provider>.

Why do I have to use : separator in the name? And why are the configuration file parameters so weird?

This is a limitation of the Certbot interface towards third-party plugins.

For details read the discussions:

Development

Create a virtualenv, install the plugin (editable mode), spawn the environment and run the test:

virtualenv -p python3 .venv
. .venv/bin/activate
pip install -e .
docker-compose up -d
./test/run_certonly.sh test/dynu-credentials.ini

License

Copyright (c) 2021 Bikramjeet Singh

Credits

PowerDNS

dns-lexicon

Helpful links

DNS Plugin list

acme.sh

dynu with acme.sh

dynu api

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certbot-dns-dynu-dev-0.0.5.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

certbot_dns_dynu_dev-0.0.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file certbot-dns-dynu-dev-0.0.5.tar.gz.

File metadata

  • Download URL: certbot-dns-dynu-dev-0.0.5.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for certbot-dns-dynu-dev-0.0.5.tar.gz
Algorithm Hash digest
SHA256 cdca33b616536de66756e1b53f34854db7aa74c4c895483f50b444a9c899933e
MD5 1eb99622186e608bad2e2345b14b754b
BLAKE2b-256 114c0f5f1dbcf8a1a8f58dedadd03eea4abcd96e4fdc3bcc183a08b37c045020

See more details on using hashes here.

File details

Details for the file certbot_dns_dynu_dev-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_dynu_dev-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b1ee06e55c514227742ddc1ec0e8efcb913116809a128df14436d267863f7918
MD5 0cb83f97f760642da0c1ef695f63fc69
BLAKE2b-256 91eb0b9fdde30f269764efe1b0a66036b2d813f083c0cc8f4eb2b2c861bac6ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page