certbot-inwx-hook

Hook for certbot manual mode and the INWX API


Keywords
certbot, python, python3
License
MIT
Install
pip install certbot-inwx-hook==1.0.2

Documentation

certbot INWX hook PyPI version

A hook to be used with the --manual option of the certonly subcommand of certbot. The hooks work with the API of INWX and the dns-01 challenge of Let's encrypt.

Usage

This package installs the certbot_inwx_deploy and certbot_inwx_cleanup entry points. Just supply these to the --manual-auth-hook and --manual-cleanup-hook of certbot.

Configuration

The configuration file is stored under /etc/certbot_inwx_hook.ini. A sample is provided under certbot_iwnx_hook.sample.ini. You can set the $CERTBOT_INWX_HOOK_CONFIG_FILE environment variable to a custom location, which will take precedence over the default location if set. In the config file you have to supply your login information. Optionally you can set additioanl nameserver IPs to check for successful propagation of the challenge. You would want ot provide the IPs of your registrar here to speed things up.

License

This work is licensed under the MIT license. See License.md for details. Additionally this work is loosely based on this code.