mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Add support for ACME DNS
+ Cleanup
This commit is contained in:
+1
-1
@@ -774,6 +774,6 @@
|
||||
<id>validation.dns_acmedns_updateurl</id>
|
||||
<label>Update URL</label>
|
||||
<type>text</type>
|
||||
<help>Specify the custom ACME DNS Update URL, i.e. https://auth.acme-dns.io/update (optional)</help>
|
||||
<help>Specify the custom ACME DNS Update URL, i.e. https://auth.acme-dns.io/update (optional)</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@@ -383,7 +383,7 @@
|
||||
<dns_yandex>Yandex PDD API</dns_yandex>
|
||||
<dns_zilore>Zilore DNS API</dns_zilore>
|
||||
<dns_zonomi>zonomi.com domain API</dns_zonomi>
|
||||
<dns_acmedns>ACME DNS API</dns_acmedns>
|
||||
<dns_acmedns>ACME DNS API</dns_acmedns>
|
||||
</OptionValues>
|
||||
</dns_service>
|
||||
<dns_sleep type="IntegerField">
|
||||
@@ -656,16 +656,16 @@
|
||||
<dns_zm_key type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_zm_key>
|
||||
<dns_acmedns_user type="TextField">
|
||||
<dns_acmedns_user type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_acmedns_user>
|
||||
<dns_acmedns_password type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_acmedns_password>
|
||||
<dns_acmedns_subdomain type="TextField">
|
||||
<dns_acmedns_subdomain type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_acmedns_subdomain>
|
||||
<dns_acmedns_updateurl type="TextField">
|
||||
<dns_acmedns_updateurl type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_acmedns_updateurl>
|
||||
</validation>
|
||||
|
||||
@@ -777,11 +777,11 @@ function run_acme_validation($certObj, $valObj, $acctObj)
|
||||
case 'dns_zonomi':
|
||||
$proc_env['ZM_Key'] = (string)$valObj->dns_zm_key;
|
||||
break;
|
||||
case 'dns_acmedns':
|
||||
case 'dns_acmedns':
|
||||
$proc_env['ACMEDNS_USERNAME'] = (string)$valObj->dns_acmedns_user;
|
||||
$proc_env['ACMEDNS_PASSWORD'] = (string)$valObj->dns_acmedns_password;
|
||||
$proc_env['ACMEDNS_SUBDOMAIN'] = (string)$valObj->dns_acmedns_subdomain;
|
||||
$proc_env['ACMEDNS_UPDATE_URL'] = (string)$valObj->dns_acmedns_updateurl;
|
||||
$proc_env['ACMEDNS_SUBDOMAIN'] = (string)$valObj->dns_acmedns_subdomain;
|
||||
$proc_env['ACMEDNS_UPDATE_URL'] = (string)$valObj->dns_acmedns_updateurl;
|
||||
break;
|
||||
default:
|
||||
log_error("AcmeClient: invalid DNS-01 service specified: " . (string)$valObj->dns_service);
|
||||
|
||||
Reference in New Issue
Block a user