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
-
Install the plugin and certbot:
pip3 install certbot certbot-dns-bonk -
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=recordIf 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.
-
Run
certbotusing the plugin, e.g.certbot certonly -a certbot-dns-bonk:dns-bonk --certbot-dns-bonk:dns-bonk-credentials /PATH/TO/bonk.ini -d DOMAIN -
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
Metadata
Release files for certbot-dns-bonk 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| certbot-dns-bonk-0.2.1.tar.gz | 3.5 kB | Without provenance | Details for certbot-dns-bonk-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| certbot_dns_bonk-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for certbot_dns_bonk-0.2.1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / certbot-dns-bonk-0.2.1.tar.gz
| Download URL | certbot-dns-bonk-0.2.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
692ec11070a07436a4c970334ac97d1e2d1b80dcf004b9f2115401c31434ba72
|
|
BLAKE2b-256 checksum How to use checksums |
4addc2471f9ced96140dca26665525b07bc05d3a32a6def02c87885d06735b05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / certbot_dns_bonk-0.2.1-py3-none-any.whl
| Download URL | certbot_dns_bonk-0.2.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0579052b1d99f69f0decc77d8e85e5e55a4317e2b9b0217dc0df6f743c57f199
|
|
BLAKE2b-256 checksum How to use checksums |
89b225861ab71dab40253f6fc44226fac6dd85a7d533d28dbca40d3652a8b621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for certbot-dns-bonk 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.