Skip to main content

IP-Projects DNS Authenticator plugin for Certbot

Project description

certbot-dns-ipp

IP-Projects 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 IP-Projects API.

Note: This plugin requires certbot ≥ v2.7.

Installation

Since this package acts as a plugin for certbot, the installation method can vary depending on how certbot is installed.

pip

If certbot is installed normally as a python package, the plugin can be installed using:

pip install certbot-dns-ipp

docker

The official docker image of this repository is available from docker.io/ipprojects/certbot-dns-ipp or ghcr.io/ipp-gmbh/certbot-dns-ipp. Accordingly, you can pull the image as follows:

docker pull docker.io/ipprojects/certbot-dns-ipp

or

docker pull ghcr.io/ipp-gmbh/certbot-dns-ipp

Credentials

Use of this plugin requires a configuration file containing your personal IP-Projects API Key, obtained from your portal account page. An example credentials.ini file:

dns_ipp_acme_api_key = ...

The path to this file can be provided using the --dns-ipp-credentials command-line argument. Certbot records the path to this file for use during renewal, but does not store the file's contents.

CAUTION: Users who can read this file can use these credentials to issue arbitrary API calls on your behalf. Set the file ownership accordingly!

Certbot will emit a warning if it detects that the credentials file can be accessed by other users on your system. The warning reads "Unsafe permissions on credentials configuration file", followed by the path to the credentials file. This warning will be emitted each time Certbot uses the credentials file, including for renewal, and cannot be silenced except by addressing the issue (e.g., by using a command like chmod 600 to restrict access to the file).

Usage

Commandline argument Explanation
--authenticator dns-ipp select the authenticator plugin (Required)
--dns-ipp-credentials "ipp_credentials.ini" credentials INI file containing the ip-projects api key. (Required)

To acquire a single certificate for both example.com and *.example.com:

pip

certbot certonly \
  --authenticator dns-ipp \
  --dns-ipp-credentials /etc/letsencrypt/ipp_credentials.ini \
  -d 'example.com' \
  -d '*.example.com'

docker

docker run --rm --cap-drop=all \
    -v /etc/letsencrypt:/etc/letsencrypt \
    -v /var/lib/letsencrypt:/var/lib/letsencrypt \
    ghcr.io/ipp-gmbh/certbot-dns-ipp:latest certbot \
        --authenticator dns-ipp \
        --dns-ipp-credentials "/etc/letsencrypt/ipp_credentials.ini" \
        -d 'example.com' \
        -d '*.example.com'

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_ipp-1.0.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

certbot_dns_ipp-1.0.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_ipp-1.0.0.tar.gz.

File metadata

  • Download URL: certbot_dns_ipp-1.0.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for certbot_dns_ipp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cc6c3e8300d1e9ef03d4541abe4ffac4af611b60354f3ebcb45b54af8bef770d
MD5 2c350d8a10fa1c922066b98fa6358f5f
BLAKE2b-256 2138003672c97577713563a088c6396d7f2e24b875cd981ec8339e828caa9ffb

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_dns_ipp-1.0.0.tar.gz:

Publisher: publish.yml on ipp-gmbh/certbot-dns-ipp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file certbot_dns_ipp-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_ipp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72f2aed42d8705ab265b6a424a634372793013626b60ed7e4fe351b0bc8d3edc
MD5 5b58366fdd8bc3d4117b8d481cd343a0
BLAKE2b-256 f67de67d52f13f96db6e2edad58de1a58a5ff03abe5bb1ee2678c40c5029ee12

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_dns_ipp-1.0.0-py3-none-any.whl:

Publisher: publish.yml on ipp-gmbh/certbot-dns-ipp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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