-
Notifications
You must be signed in to change notification settings - Fork 647
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
security/acme-client: Add NSUPDATE_ZONE support to nsupdate DNS-01 Service #1851
Conversation
Adds new validation.dns_nsudate_zone field to implement support for NSUPDATE_ZONE. See acmesh-official/acme.sh#1963 for more information.
Adds dns_nsupdate_zone field to model to support for NSUPDATE_ZONE. See acmesh-official/acme.sh#1963 for more information.
Adds new $proc_env call to process dns_update_zone to implement NSUPDATE_ZONE env variable. See acmesh-official/acme.sh#1963 for more information.
Mistake on my part, caught during review.
Mistake on a mistake <field> tag had bad alignment, it was not an unneeded tag.
Help took up three lines - shortened so it takes only two.
|
This has been tested on: Versions OPNsense 20.1.7-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
OpenSSL 1.1.1g 21 Apr 2020
Using nsupdate DNS Service with nsupdate table something like: Server (FQDN) update.dyndns.com
Zone myzone.tld
Secret Key key "xxxxxxxxxxxxxxx" {
algorithm hmac-md5;
secret "xxxxxxxxxxxxxxxxxxxxxxxxxxxx";
};
Which resulted in a valid cert issued by Let's Encrypt. |
|
Ready for review and comment. If I've screwed something up - please let me know what and I will correct it straight away. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good at first glance, thanks ❤️
|
Merged, thanks! |
|
@fraenki Glad to be of some small help. |
This change is to update nsupdate (RFC 2136) DNS Service for the Let's Encrypt module to support a Zone declaration. As described in PR#1963 for acme.sh:
Currently OPNSense is a year and a half behind what acme.sh supports for the nsupdate DNSAPI. See the acme.sh pull request for more detailed information.