Skip to content

security/acme-client: Add support for Hurricane Electric DDNS API #5073

@Famaku

Description

@Famaku

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
The DNS API of Hurricane Electric supports 2FA via access tokens. This feature itself is already supported by the acme plugin but not yet exposed via the GUI.

Describe the solution you'd like
Currently, in the GUI username/password are supplied for all domains under "Challenge Type". As this new feature replaces username/password with per-domain access tokens, a field for these should be supplied in each certificates' dialogue. To avoid overlap, a checkbox for enabling access tokens could be added to the "Challenge Type" dialogie for Hurricane Electric.
If selected, this should add HE_DDNS_KEY="access_token" to /var/etc/acme-client/accounts/[...]/account.conf and upon requesting the certificate call acme.sh with the --dns 'dns_he_ddns' parameter instead of --dns 'dns_he'.

Additional context
A discussion of this feature request can be found here:
https://forum.opnsense.org/index.php?topic=49404.0

The API is descrived here:
https://github.com/acmesh-official/acme.sh/wiki/dnsapi2#dns_he_ddns

Metadata

Metadata

Assignees

Labels

featureAdding new functionality

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions