Skip to main content

dnsmanager.io DNS Authenticator plugin for Certbot

Project description

Certbot dnsmanager.io plugin

Snap Store Badge PyPI Version Badge

This plugin enables DNS verification with Certbot when using dnsmanager.io.

Installation

If you installed certbot as a snap, then you have to install this plugin as a snap as well:

snap install certbot-dns-dnsmanager
snap set certbot trust-plugin-with-root=ok
snap connect certbot:plugin certbot-dns-dnsmanager

and can be upgraded using the refresh command:

snap refresh certbot-dns-dnsmanager

Alternatively this package can be installed with pip:

pip install certbot-dns-dnsmanager

and can be upgraded using the --upgrade flag

pip install --upgrade certbot-dns-dnsmanager

Credentials

You need to supply Certbot with your dnsmanager.io API credentials, this is an example of how a credentials file can look:

# dnsmanager.io API credentials used by Certbot
dns_dnsmanager_api_id = 4b968ab4-b30b-4376-898d-659b3e8b9028
dns_dnsmanager_api_key = DprstzDtrGXUUVb5X8AThDOLdmpyPCqw

You can create a new set of API credentials in your dnsmanager.io account.

Keep in mind that the credentials file should be readable only by the user running Certbot and the credentials cannot be scoped, so they can be used to perform any action on your behalf if compromised.

Examples

Simple example for a single domain:

certbot certonly \
  --authenticator dns-dnsmanager \
  --dns-dnsmanager-credentials ~/.secrets/dnsmanager.ini \
  -d example.com

Simple example for wildcard domain:

certbot certonly \
  --authenticator dns-dnsmanager \
  --dns-dnsmanager-credentials ~/.secrets/dnsmanager.ini \
  -d example.com \
  -d *.example.com

Example changing the propagation delay, although you should not have to adjust it normally:

certbot certonly \
  --authenticator dns-dnsmanager \
  --dns-dnsmanager-credentials ~/.secrets/dnsmanager.ini \
  --dns-dnsmanager-propagation-seconds 120 \
  -d example.com

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail to Alex Bouma at alex+security@bouma.me. All security vulnerabilities will be swiftly addressed.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

certbot_dns_dnsmanager-1.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_dnsmanager-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_dnsmanager-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f81ea0fc1116d5ec3b507d61c0112d4a4d730323c6fcb707de9d776bb7c44eb
MD5 4c03a7079ba5bcb63ab339a6cdbd451b
BLAKE2b-256 5783ff3d490be1a2902baa63d980c5f3977b58f5dcccf7095394d755b31baab1

See more details on using hashes here.

Supported by

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