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

No ACME CA currently supports RFC 8657, namely the accounturi issuance parameter.

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 issueance 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.1.0.tar.gz (8.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: certbot-acme-dns-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for certbot-acme-dns-0.1.0.tar.gz
Algorithm Hash digest
SHA256 febe3554830bcf32f7cd8ff9312063aff196cb10f4e5561209cb4222ebd35a28
MD5 a1f5dfc83dfcc1c60792353e85f29c57
BLAKE2b-256 1c1288996aca920d7833c61800cc13d6993ca723a0044a02a9834964e51b8093

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