Merge pull request #3122 from Marvo2011/master

security/acme-client: Update selfhost (breaking change)
This commit is contained in:
Frank Wall
2022-10-11 13:47:20 +02:00
committed by GitHub
3 changed files with 7 additions and 17 deletions
@@ -1065,16 +1065,10 @@
<type>password</type>
</field>
<field>
<id>validation.dns_selfhost_rid</id>
<label>rid</label>
<type>text</type>
<help>Please create the TXT Record with Subdomain _acme-challenge first, than you can get the ID from the edit page.</help>
</field>
<field>
<id>validation.dns_selfhost_rid2</id>
<label>rid2</label>
<type>text</type>
<help>Please create a second TXT Record with Subdomain _acme-challenge (needed to support ACME v2).</help>
<id>validation.dns_selfhost_map</id>
<label>RID Mapping</label>
<type>textbox</type>
<help>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>
</field>
<field>
<label>Servercow</label>
@@ -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;
}
}
@@ -948,12 +948,9 @@
<dns_selfhost_password type="TextField">
<Required>N</Required>
</dns_selfhost_password>
<dns_selfhost_rid type="TextField">
<dns_selfhost_map type="TextField">
<Required>N</Required>
</dns_selfhost_rid>
<dns_selfhost_rid2 type="TextField">
<Required>N</Required>
</dns_selfhost_rid2>
</dns_selfhost_map>
<dns_servercow_username type="TextField">
<Required>N</Required>
</dns_servercow_username>