Merge pull request #1234 from pipedreams-zz/patch-1

update letsencrypt plugin: added DNS Service hosting.de
This commit is contained in:
Frank Wall
2019-03-11 14:14:27 +01:00
committed by GitHub
3 changed files with 26 additions and 0 deletions
@@ -406,6 +406,21 @@
<label>Secret</label>
<type>text</type>
</field>
<field>
<label>hosting.de</label>
<type>header</type>
<style>table_dns table_dns_hostingde</style>
</field>
<field>
<id>validation.dns_hostingde_server</id>
<label>Server URL</label>
<type>text</type>
</field>
<field>
<id>validation.dns_hostingde_apiKey</id>
<label>API key</label>
<type>text</type>
</field>
<field>
<label>Hurricane Electric</label>
<type>header</type>
@@ -363,6 +363,7 @@
<dns_gandi_livedns>Gandi LiveDNS API</dns_gandi_livedns>
<dns_gd>GoDaddy.com API</dns_gd>
<dns_gdnsdk>GratisDNS.dk</dns_gdnsdk>
<dns_hostingde>hosting.de API</dns_hostingde>
<dns_he>Hurricane Electric</dns_he>
<dns_infoblox>Infoblox API</dns_infoblox>
<dns_inwx>INWX XMLRPC API</dns_inwx>
@@ -518,6 +519,12 @@
<dns_gd_secret type="TextField">
<Required>N</Required>
</dns_gd_secret>
<dns_hostingde_server type="TextField">
<Required>N</Required>
</dns_hostingde_server>
<dns_hostingde_apiKey type="TextField">
<Required>N</Required>
</dns_hostingde_apiKey>
<dns_he_user type="TextField">
<Required>N</Required>
</dns_he_user>
@@ -656,6 +656,10 @@ function run_acme_validation($certObj, $valObj, $acctObj)
$proc_env['GD_Key'] = (string)$valObj->dns_gd_key;
$proc_env['GD_Secret'] = (string)$valObj->dns_gd_secret;
break;
case 'dns_hostingde':
$proc_env['HOSTINGDE_ENDPOINT'] = (string)$valObj->dns_hostingde_server;
$proc_env['HOSTINGDE_APIKEY'] = (string)$valObj->dns_hostingde_apiKey;
break;
case 'dns_he':
$proc_env['HE_Username'] = (string)$valObj->dns_he_user;
$proc_env['HE_Password'] = (string)$valObj->dns_he_password;