Skip to content

Please fix documentation in dns_knot.sh for KNOT_KEY #6293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
StanZanarotti opened this issue Apr 8, 2025 · 1 comment
Open

Please fix documentation in dns_knot.sh for KNOT_KEY #6293

StanZanarotti opened this issue Apr 8, 2025 · 1 comment

Comments

@StanZanarotti
Copy link

The dns_knot.sh script claims that KNOT_KEY is "File path to TSIG key", when in actuality it needs to be the key data itself.

This is referenced in issue #4450 -- the third comment from the end by stokito references this fact.

The documentation at https://github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_knot says:

export KNOT_KEY='/etc/knot/acme.key'

where it should be something like:

export KNOT_KEY=hmac-sha256:example.com:dKOVNWnxMTRY9cXKg4X5b/IVo3sbuArOE4eUvrwMx/M=

You could also decide to update the script to accept a key file parameter and use the "-k" option in knsupdate to send it to the server.
This would keep the key from being passed in an environment variable.

Copy link

github-actions bot commented Apr 8, 2025

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant