Skip to main content

ACME DNS Authenticator plugin for Certbot

Project description

certbot-acme-dns

ACME DNS Authenticator plugin for Certbot.

This plugin automates the process of completing a dns-01 challenge with the help of an acme-dns proxy server.

Warning

Your ACME CA must properly implement RFC 8657, namely the accounturi issuance parameter. This plugin contains a list of compliant ACME CAs and will abort if the chosen CA is not on that list.

The RFC does not require CAs to fail validation when they don't understand an issuance parameter, meaning that unless a particular ACME CA explicitly documents supporting and honoring the accounturi issuance parameter, it will be silently ignored. Typos in the parameter names are allowed to be ignored, too (eg. accounturl will render your deployment insecure even when the CA fully implements the RFC). See the RFC complaint forum post for discussion.

You can force this plugin to proceed anyway using the --acme-dns-is-trusted=yes option. However, this is INSECURE and DANGEROUS, unless you self-host the acme-dns proxy server and fully trust it. The proxy server will be able to issue certificates for the "delegated" domain without your (certbot's) consent.

Installation

pip install certbot-acme-dns

Usage

To start using the plugin, pass the --authenticator=acme-dns (or just -a acme-dns for short) option to certbot's command line.

Custom ACME DNS proxy server URL can be specified using the --acme-dns-url https://acme-dns.example.com option, default is https://auth.acme-dns.io.

Development

Run tests

tox

Auto-fix code formatting

tox -e reformat

Run Certbot with the certbot-acme-dns plugin

tox -e run -- certonly -a acme-dns -d example.com

Certbot logs & config (accounts, hooks, certificates, etc.) are stored under ./.certbot/.

Build

sdist

tox -e build

wheel

tox -e build -- --wheel

Generate documentation

tox -e docs

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-acme-dns-0.3.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

certbot_acme_dns-0.3.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file certbot-acme-dns-0.3.1.tar.gz.

File metadata

  • Download URL: certbot-acme-dns-0.3.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for certbot-acme-dns-0.3.1.tar.gz
Algorithm Hash digest
SHA256 93671542d4be5488f3ffa2e6de31d3a22e78a334d95915077cdbd12a46cda782
MD5 c5a6e0125a17c331db61270f9d427599
BLAKE2b-256 4675fa34ad6e15fcf88c67fca581f3f728fdc8516354ef62643ca87649f200a1

See more details on using hashes here.

File details

Details for the file certbot_acme_dns-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_acme_dns-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f14b74fbc8fc2d717c6a02ad0fcd409e063afcbce7ec5fe932df57ea5672153
MD5 1674d8501b2f14a54208bbb3b80533a6
BLAKE2b-256 f5af79e261b46db6b471df82ce31bed879e27c4c3ec156880363e8f8128aa484

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