Skip to main content

nextlayer DNS Authenticator plugin for Certbot

Project description

certbot-dns-nextlayer

Tests Upload Python Package Python Version PyPi Status Version

next layer 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 # optional
pip install certbot-dns-nextlayer

Verify:

$ certbot plugins --text

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* dns-nextlayer
Description: Obtain certificates using a DNS TXT record by using the nextlayer
dns api.
Interfaces: IAuthenticator, IPlugin
Entry point: dns-nextlayer = certbot_dns_nextlayer.dns_nextlayer:Authenticator

...
...

Configuration

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

dns_nextlayer_token=put_your_token_here

Usage

Example command

certbot certonly --authenticator dns-nextlayer --dns-nextlayer-credentials=~/nldns-credentials.ini -d nextlayer.at

Zone detection method

We've added the configuration parameter --dns-nextlayer-method to select the way our certbot plugin determines the correct zone to add the record to. Currently there are 3 options you can choose from.

intelligent

This is the default method.
It tries to determine the zone intelligently by extracting the TLD and re-adding the first level.

Examples:
* dns.nextlayer.at: nextlayer.at
* dns.nextlayer.co.at: nextlayer.co.at
* www.dns.nextlayer.co.at: nextlayer.co.at

remove-first

This method just removes the first level of the requested domain.

Examples:
* dns.nextlayer.at: nextlayer.at
* dns.nextlayer.co.at: nextlayer.co.at
* www.dns.nextlayer.co.at: dns.nextlayer.co.at

none

This method does what it's called. No magic.

Examples:
* dns.nextlayer.at: dns.nextlayer.at
* dns.nextlayer.co.at: dns.nextlayer.co.at
* www.dns.nextlayer.co.at: www.dns.nextlayer.co.at

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-nextlayer-1.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

certbot_dns_nextlayer-1.1.2-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file certbot-dns-nextlayer-1.1.2.tar.gz.

File metadata

  • Download URL: certbot-dns-nextlayer-1.1.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for certbot-dns-nextlayer-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7221802043ec7e08bb2b9405e26b12f157a7016d411fc741cf15a412ade86487
MD5 dcdf24256f265601fc5cc5897cc0ef5a
BLAKE2b-256 fa9f891b9e78ae167fa838d4833a53834a32388a269369780ebf730c3434ef31

See more details on using hashes here.

File details

Details for the file certbot_dns_nextlayer-1.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: certbot_dns_nextlayer-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for certbot_dns_nextlayer-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b524b45020bfb0126e7d5fddbe55b81f1e750409d3f6e53d42988b2f3d9ad12
MD5 c946a7b5cca2b33d64cdb09286ae2bce
BLAKE2b-256 9345e5cad897378b19a25e8e3bdd40cd752842d9b2ce6771f0bf9e82109fb5e5

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