Skip to main content

Certbot plugin for authentication using bonk

Project description

Certbot plugin for completing DNS challenges using bonk

This is a plugin for Certbot that uses bonk's API to authenticate certificate requests using the dns-01 challenge.

Usage

  1. Install the plugin and certbot: pip3 install certbot certbot-dns-bonk

  2. Create a bonk.ini file containing your credentials, the URL to your bonk instance, and the group that your user is in to maintain control of the records:

    certbot_dns_bonk:dns_bonk_endpoint=https://SOCRATES/bonk
    certbot_dns_bonk:dns_bonk_username=USERNAME
    certbot_dns_bonk:dns_bonk_password=PASSWORD
    certbot_dns_bonk:dns_bonk_group=GROUP
    certbot_dns_bonk:dns_bonk_cleanup_action=record
    

    If cleanup_action is record, records will be deleted after each run. If your user lacks permission to create records on its own in the zones, set this to value instead, which will only delete the values it has added.

    Make sure this file is only readable by the user running certbot, typically root.

  3. Run certbot using the plugin, e.g.

    certbot certonly -a certbot-dns-bonk:dns-bonk --certbot-dns-bonk:dns-bonk-credentials /PATH/TO/bonk.ini -d DOMAIN
    
  4. Set up automatic renewal as a cron job, e.g.

    certbot renew -q -a certbot-dns-bonk:dns-bonk --certbot-dns-bonk:dns-bonk-credentials /PATH/TO/bonk.ini -d DOMAIN
    

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-bonk-0.2.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

certbot_dns_bonk-0.2.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file certbot-dns-bonk-0.2.1.tar.gz.

File metadata

  • Download URL: certbot-dns-bonk-0.2.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for certbot-dns-bonk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 692ec11070a07436a4c970334ac97d1e2d1b80dcf004b9f2115401c31434ba72
MD5 bc0c7cc8d7f7affd684d2651691a8bc9
BLAKE2b-256 4addc2471f9ced96140dca26665525b07bc05d3a32a6def02c87885d06735b05

See more details on using hashes here.

File details

Details for the file certbot_dns_bonk-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: certbot_dns_bonk-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for certbot_dns_bonk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0579052b1d99f69f0decc77d8e85e5e55a4317e2b9b0217dc0df6f743c57f199
MD5 4a42cd1ba05a1cd1be3d624ce51ba324
BLAKE2b-256 89b225861ab71dab40253f6fc44226fac6dd85a7d533d28dbca40d3652a8b621

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