mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
securiy/acme-client: add support for Leaseweb, closes #1670
This commit is contained in:
+10
@@ -1049,4 +1049,14 @@
|
||||
<label>Password</label>
|
||||
<type>password</type>
|
||||
</field>
|
||||
<field>
|
||||
<label>Leaseweb</label>
|
||||
<type>header</type>
|
||||
<style>table_dns table_dns_leaseweb</style>
|
||||
</field>
|
||||
<field>
|
||||
<id>validation.dns_leaseweb_key</id>
|
||||
<label>API Key</label>
|
||||
<type>password</type>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@@ -391,6 +391,7 @@
|
||||
<dns_ispconfig>ISPConfig 3.1+ API</dns_ispconfig>
|
||||
<dns_kinghost>KingHost DNS API</dns_kinghost>
|
||||
<dns_knot>Knot (knsupdate) DNS API</dns_knot>
|
||||
<dns_leaseweb>LeaseWeb API</dns_leaseweb>
|
||||
<dns_lexicon>lexicon DNS API</dns_lexicon>
|
||||
<dns_linode>Linode API</dns_linode>
|
||||
<dns_loopia>Loopia API</dns_loopia>
|
||||
@@ -861,6 +862,9 @@
|
||||
<dns_euserv_password type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_euserv_password>
|
||||
<dns_leaseweb_key type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_leaseweb_key>
|
||||
</validation>
|
||||
</validations>
|
||||
<actions>
|
||||
|
||||
@@ -817,6 +817,9 @@ function run_acme_validation($certObj, $valObj, $acctObj)
|
||||
$proc_env['KNOT_SERVER'] = (string)$valObj->dns_knot_server;
|
||||
$proc_env['KNOT_KEY'] = (string)$valObj->dns_knot_key;
|
||||
break;
|
||||
case 'dns_leaseweb':
|
||||
$proc_env['LSW_Key'] = (string)$valObj->dns_leaseweb_key;
|
||||
break;
|
||||
case 'dns_lexicon':
|
||||
$proc_env['PROVIDER'] = (string)$valObj->dns_lexicon_provider;
|
||||
$proc_env['LEXICON_' . strtoupper($proc_env['PROVIDER']) . '_USERNAME'] = (string)$valObj->dns_lexicon_user;
|
||||
|
||||
Reference in New Issue
Block a user