diff --git a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogValidation.xml b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogValidation.xml index f7c912ed1..890240560 100644 --- a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogValidation.xml +++ b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogValidation.xml @@ -1065,16 +1065,10 @@ password - validation.dns_selfhost_rid - - text - Please create the TXT Record with Subdomain _acme-challenge first, than you can get the ID from the edit page. - - - validation.dns_selfhost_rid2 - - text - Please create a second TXT Record with Subdomain _acme-challenge (needed to support ACME v2). + validation.dns_selfhost_map + + textbox + Please create the TXT Record with Subdomain _acme-challenge first, than you can get the ID from the edit page. Up to two RIDs per fulldomain are supported but at least one must be set, e.g. _acme-challenge.domain.net:RID:RI> diff --git a/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsSelfhost.php b/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsSelfhost.php index f487e9a01..881ebf792 100644 --- a/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsSelfhost.php +++ b/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsSelfhost.php @@ -41,7 +41,6 @@ class DnsSelfhost extends Base implements LeValidationInterface { $this->acme_env['SELFHOSTDNS_USERNAME'] = (string)$this->config->dns_selfhost_user; $this->acme_env['SELFHOSTDNS_PASSWORD'] = (string)$this->config->dns_selfhost_password; - $this->acme_env['SELFHOSTDNS_RID'] = (string)$this->config->dns_selfhost_rid; - $this->acme_env['SELFHOSTDNS_RID2'] = (string)$this->config->dns_selfhost_rid2; + $this->acme_env['SELFHOSTDNS_MAP'] = (string)$this->config->dns_selfhost_map; } } diff --git a/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml b/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml index 237e2b76b..5fd41ff30 100644 --- a/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml +++ b/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml @@ -948,12 +948,9 @@ N - + N - - - N - + N