Skip to main content

certbot-dns-poweradmin

Test codecov PyPI Python

PowerAdmin DNS Authenticator plugin for Certbot

This plugin automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records using the PowerAdmin API.

Version Compatibility

Plugin Version Poweradmin Version Python Certbot
0.3.x 4.1.0 - 4.5.x >= 3.10 >= 5.9.0
0.2.x 4.1.0 - 4.5.x >= 3.10 >= 5.1.0 (0.2.8+: >= 5.9.0)
0.1.x 4.1.0 - 4.2.x >= 3.10 >= 5.1.0

Installation

pip install certbot-dns-poweradmin

PowerAdmin Configuration

Your PowerAdmin installation needs to have the API enabled. The plugin uses API v2. API v1 was removed in Poweradmin 4.5.0 and is no longer supported by the plugin (since 0.3.0).

You'll need an API key with permissions to:

  • List zones
  • Create DNS records
  • Delete DNS records

Usage

  1. Create a credential file readable only by you (e.g., /etc/letsencrypt/poweradmin.ini):
touch /etc/letsencrypt/poweradmin.ini
chmod 600 /etc/letsencrypt/poweradmin.ini

Then add your settings to it:

dns_poweradmin_api_url = https://poweradmin.example.com
dns_poweradmin_api_key = your-api-key-here
dns_poweradmin_api_version = v2

The api_version is optional and defaults to v2, the only supported value. Setting it to v1 fails with an error; use plugin 0.2.x if you still need API v1.

  1. Run certbot:
certbot certonly \
  --authenticator dns-poweradmin \
  --dns-poweradmin-credentials /etc/letsencrypt/poweradmin.ini \
  -d example.com

Arguments

Argument Description
--dns-poweradmin-credentials Path to credentials INI file (required)
--dns-poweradmin-propagation-seconds Seconds to wait for DNS propagation (default: 120)

Examples

Get a certificate for a single domain:

certbot certonly \
  --authenticator dns-poweradmin \
  --dns-poweradmin-credentials /etc/letsencrypt/poweradmin.ini \
  -d example.com

Get a wildcard certificate:

certbot certonly \
  --authenticator dns-poweradmin \
  --dns-poweradmin-credentials /etc/letsencrypt/poweradmin.ini \
  -d example.com \
  -d "*.example.com"

With custom propagation time:

certbot certonly \
  --authenticator dns-poweradmin \
  --dns-poweradmin-credentials /etc/letsencrypt/poweradmin.ini \
  --dns-poweradmin-propagation-seconds 300 \
  -d example.com

Docker

FROM certbot/certbot
RUN pip install certbot-dns-poweradmin

Build and run:

docker build -t certbot/dns-poweradmin .

docker run --rm \
  -v /etc/letsencrypt:/etc/letsencrypt \
  -v /var/lib/letsencrypt:/var/lib/letsencrypt \
  certbot/dns-poweradmin certonly \
  --authenticator dns-poweradmin \
  --dns-poweradmin-credentials /etc/letsencrypt/poweradmin.ini \
  -d example.com

Troubleshooting

Plugin not found by certbot

If certbot plugins doesn't show dns-poweradmin, ensure both certbot and the plugin are installed in the same Python environment:

# Check where certbot is installed
which certbot

# If using system certbot but plugin in venv, either:
# Option 1: Install certbot in the same venv
pip install certbot certbot-dns-poweradmin

# Option 2: Use certbot from the venv
python -m certbot plugins

Virtual environment usage

When using a virtual environment, install both certbot and the plugin together:

python3 -m venv certbot-env
source certbot-env/bin/activate
pip install certbot certbot-dns-poweradmin

# Run certbot from the venv
certbot plugins  # should show dns-poweradmin

API connection issues

  • Use the base URL of your PowerAdmin installation as dns_poweradmin_api_url (e.g. https://poweradmin.example.com), including the https:// scheme and without the /api path — the plugin appends /api/v2 itself
  • The URL must not redirect (e.g. http:// to https://); the plugin refuses redirects and asks you to configure the final URL directly
  • Use https://: the plugin warns when the URL is plain http:// (except for localhost/loopback), since the API key would be sent unencrypted
  • Do not put a username or password in the URL; such a URL is rejected
  • Check that your API key has the required permissions

Sponsors

stepping stone AG

We thank stepping stone AG for their support of this project.

License

Apache License 2.0

Metadata

Release files for certbot-dns-poweradmin 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for certbot-dns-poweradmin 0.3.3
File Size Uploaded Provenance Actions
certbot_dns_poweradmin-0.3.3.tar.gz 30.6 kB With provenance Details for certbot_dns_poweradmin-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for certbot-dns-poweradmin 0.3.3
File Interpreter ABI Platform Actions
certbot_dns_poweradmin-0.3.3-py3-none-any.whl Python 3 none any Details for certbot_dns_poweradmin-0.3.3-py3-none-any.whl

Total release size: 46.8 kB

Release files / certbot_dns_poweradmin-0.3.3.tar.gz

Download URL certbot_dns_poweradmin-0.3.3.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd3f8dc7dfbe309f5637c6f3865460fe042f47ee364168bc32075bbc5938dd5a
BLAKE2b-256 checksum
How to use checksums
247fc637f8e14b909f207988c16998ee66c4df955bd9cfd31efcf904e6177f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / certbot_dns_poweradmin-0.3.3-py3-none-any.whl

Download URL certbot_dns_poweradmin-0.3.3-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb2357888918a6c4619ec33b7736ddd0793100814dcbdd243759297a9f4098b6
BLAKE2b-256 checksum
How to use checksums
10e0351210069e5133419f87c1e9c627bd482da9f43f92e5a85279d917565f22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for certbot-dns-poweradmin 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for certbot_dns_poweradmin-0.3.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page