Skip to main content

Certbot DNS plugin for mijn.host service, enabling the automation of DNS-01 challenges for issuing wildcard SSL certificates. This plugin simplifies the process of obtaining and renewing SSL certificates by integrating directly with the DNS API of mijn.host Service, making it ideal for system administrators and DevOps professionals managing secure web services.

Project description

mijn.host

mijn.host DNS Certbot Authenticator Plugin

The mijn.host DNS Certbot Plugin automates SSL/TLS certificate creation by enabling DNS-01 challenges using the mijn.host API. This plugin is designed to work with the Certbot tool, allowing seamless integration for automated certificate management.

Requirements

To use the plugin, you'll need the following:

  • A mijn.host account
  • An API key from mijn.host

Installation

You can install the plugin using pip:

pip install certbot-dns-mijnhost

Arguments

Argument Example Description
--authenticator dns-mijn-host Specifies that Certbot should use this plugin. Use dns-mijnhost as the value.
--dns-mijnhost-credentials ./credentials.ini Points to the credentials file containing your mijn.host API key. Required.
--dns-mijnhost-propagation-seconds 120 Sets the wait time in seconds before Certbot checks the TXT record. The default is 120 seconds.

Credentials File

dns_mijn_host_api_key = YOUR_API_KEY

Make sure the file is stored securely and not accessible by unauthorized users.

Example usage

certbot certonly \
  --authenticator dns-mijn-host \
  --dns-mijn-host-credentials /path/to/credentials.ini \
  --dns-mijn-host-propagation-seconds 120 \
  --agree-tos \
  --rsa-key-size 60 \
  -d 'example.com' \
  -d '*.example.com'

The plugin will create a TXT record for the DNS-01 challenge in your mijn.host DNS zone. After the challenge is verified, the plugin will delete the TXT record.

Local Development

For local development and testing, it’s recommended to use a Python virtual environment:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python setup.py sdist bdist_wheel
pip install -e .

This will install the plugin in the local environment, allowing you to make changes without reinstalling.

When running Certbot locally, you may need to specify --logs-dir, --config-dir, and --work-dir to avoid permission issues with global directories.

Support

If you encounter issues or have suggestions, please open an issue on the GitHub repository.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Related Plugins

If you need to use a different DNS service, check out the Certbot DNS plugins for other providers.

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_mijn_host-0.0.2.tar.gz (9.4 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_mijn_host-0.0.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_mijn_host-0.0.2.tar.gz.

File metadata

  • Download URL: certbot_dns_mijn_host-0.0.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for certbot_dns_mijn_host-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4e82d7b337848a88d7c2221ecfa06aa1312b8dae1fc11ac1e3ebc0e1f09307e7
MD5 2ae4352dc349d3a7cf5a96dd70c16e48
BLAKE2b-256 25b3464998415d6793585bd66f396d1013dc39683ad5a439f7da550b4560fe5e

See more details on using hashes here.

File details

Details for the file certbot_dns_mijn_host-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_mijn_host-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbb9a750a91ba1ca49396d0fc3fbe8396cd10ece405374e7c670738d4fbb6dba
MD5 b400ab9982a0d5d1946a7afe47c02863
BLAKE2b-256 c93626fef6fcc65bf95dff7a52ffc11ec3b8ddceb02375fb398e17fd52ca6a75

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