Skip to content

Commit 69c33f0

Browse files
authored
Merge pull request #1083 from chaptergy/adds-more-dns-challenges
Adds more dns challenges
2 parents ba45705 + cd4caea commit 69c33f0

File tree

1 file changed

+88
-36
lines changed

1 file changed

+88
-36
lines changed

global/certbot-dns-plugins.js

Lines changed: 88 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@
2020
*/
2121

2222
module.exports = {
23+
//####################################################//
24+
acmedns: {
25+
display_name: 'ACME-DNS',
26+
package_name: 'certbot-dns-acmedns',
27+
package_version: '0.1.0',
28+
dependencies: '',
29+
credentials: `certbot_dns_acmedns:dns_acmedns_api_url = http://acmedns-server/
30+
certbot_dns_acmedns:dns_acmedns_registration_file = /data/acme-registration.json`,
31+
full_plugin_name: 'certbot-dns-acmedns:dns-acmedns',
32+
},
2333
aliyun: {
2434
display_name: 'Aliyun',
2535
package_name: 'certbot-dns-aliyun',
@@ -30,6 +40,32 @@ certbot_dns_aliyun:dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcd
3040
full_plugin_name: 'certbot-dns-aliyun:dns-aliyun',
3141
},
3242
//####################################################//
43+
azure: {
44+
display_name: 'Azure',
45+
package_name: 'certbot-dns-azure',
46+
package_version: '1.1.0',
47+
dependencies: '',
48+
credentials: `# This plugin supported API authentication using either Service Principals or utilizing a Managed Identity assigned to the virtual machine.
49+
# Regardless which authentication method used, the identity will need the “DNS Zone Contributor” role assigned to it.
50+
# As multiple Azure DNS Zones in multiple resource groups can exist, the config file needs a mapping of zone to resource group ID. Multiple zones -> ID mappings can be listed by using the key dns_azure_zoneX where X is a unique number. At least 1 zone mapping is required.
51+
52+
# Using a service principal (option 1)
53+
dns_azure_sp_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
54+
dns_azure_sp_client_secret = E-xqXU83Y-jzTI6xe9fs2YC~mck3ZzUih9
55+
dns_azure_tenant_id = ed1090f3-ab18-4b12-816c-599af8a88cf7
56+
57+
# Using used assigned MSI (option 2)
58+
# dns_azure_msi_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
59+
60+
# Using system assigned MSI (option 3)
61+
# dns_azure_msi_system_assigned = true
62+
63+
# Zones (at least one always required)
64+
dns_azure_zone1 = example.com:/subscriptions/c135abce-d87d-48df-936c-15596c6968a5/resourceGroups/dns1
65+
dns_azure_zone2 = example.org:/subscriptions/99800903-fb14-4992-9aff-12eaf2744622/resourceGroups/dns2`,
66+
full_plugin_name: 'dns-azure',
67+
},
68+
//####################################################//
3369
cloudflare: {
3470
display_name: 'Cloudflare',
3571
package_name: 'certbot-dns-cloudflare',
@@ -40,6 +76,22 @@ dns_cloudflare_api_token = 0123456789abcdef0123456789abcdef01234567`,
4076
full_plugin_name: 'dns-cloudflare',
4177
},
4278
//####################################################//
79+
cloudns: {
80+
display_name: 'ClouDNS',
81+
package_name: 'certbot-dns-cloudns',
82+
package_version: '0.4.0',
83+
dependencies: '',
84+
credentials: `# Target user ID (see https://www.cloudns.net/api-settings/)
85+
dns_cloudns_auth_id=1234
86+
# Alternatively, one of the following two options can be set:
87+
# dns_cloudns_sub_auth_id=1234
88+
# dns_cloudns_sub_auth_user=foobar
89+
90+
# API password
91+
dns_cloudns_auth_password=password1`,
92+
full_plugin_name: 'dns-cloudns',
93+
},
94+
//####################################################//
4395
cloudxns: {
4496
display_name: 'CloudXNS',
4597
package_name: 'certbot-dns-cloudxns',
@@ -71,6 +123,15 @@ certbot_dns_cpanel:cpanel_password = hunter2`,
71123
full_plugin_name: 'certbot-dns-cpanel:cpanel',
72124
},
73125
//####################################################//
126+
duckdns: {
127+
display_name: 'DuckDNS',
128+
package_name: 'certbot-dns-duckdns',
129+
package_version: '0.5',
130+
dependencies: '',
131+
credentials: 'dns_duckdns_token=<your-duckdns-token>',
132+
full_plugin_name: 'dns-duckdns',
133+
},
134+
//####################################################//
74135
digitalocean: {
75136
display_name: 'DigitalOcean',
76137
package_name: 'certbot-dns-digitalocean',
@@ -120,6 +181,17 @@ certbot_dns_dnspod:dns_dnspod_api_token = "DNSPOD-API-TOKEN"`,
120181
full_plugin_name: 'certbot-dns-dnspod:dns-dnspod',
121182
},
122183
//####################################################//
184+
eurodns: {
185+
display_name: 'EuroDNS',
186+
package_name: 'certbot-dns-eurodns',
187+
package_version: '0.0.4',
188+
dependencies: '',
189+
credentials: `dns_eurodns_applicationId = myuser
190+
dns_eurodns_apiKey = mysecretpassword
191+
dns_eurodns_endpoint = https://rest-api.eurodns.com/user-api-gateway/proxy`,
192+
full_plugin_name: 'certbot-dns-eurodns:dns-eurodns',
193+
},
194+
//####################################################//
123195
gandi: {
124196
display_name: 'Gandi Live DNS',
125197
package_name: 'certbot_plugin_gandi',
@@ -254,6 +326,16 @@ certbot_dns_powerdns:dns_powerdns_api_key = AbCbASsd!@34`,
254326
full_plugin_name: 'certbot-dns-powerdns:dns-powerdns',
255327
},
256328
//####################################################//
329+
regru: {
330+
display_name: 'reg.ru',
331+
package_name: 'certbot-regru',
332+
package_version: '1.0.2',
333+
dependencies: '',
334+
credentials: `certbot_regru:dns_username=username
335+
certbot_regru:dns_password=password`,
336+
full_plugin_name: 'certbot-regru:dns',
337+
},
338+
//####################################################//
257339
rfc2136: {
258340
display_name: 'RFC 2136',
259341
package_name: 'certbot-dns-rfc2136',
@@ -283,26 +365,6 @@ aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`,
283365
full_plugin_name: 'dns-route53',
284366
},
285367
//####################################################//
286-
vultr: {
287-
display_name: 'Vultr',
288-
package_name: 'certbot-dns-vultr',
289-
package_version: '1.0.3',
290-
dependencies: '',
291-
credentials: 'certbot_dns_vultr:dns_vultr_key = YOUR_VULTR_API_KEY',
292-
full_plugin_name: 'certbot-dns-vultr:dns-vultr',
293-
},
294-
//####################################################//
295-
eurodns: {
296-
display_name: 'EuroDNS',
297-
package_name: 'certbot-dns-eurodns',
298-
package_version: '0.0.4',
299-
dependencies: '',
300-
credentials: `dns_eurodns_applicationId = myuser
301-
dns_eurodns_apiKey = mysecretpassword
302-
dns_eurodns_endpoint = https://rest-api.eurodns.com/user-api-gateway/proxy`,
303-
full_plugin_name: 'certbot-dns-eurodns:dns-eurodns',
304-
},
305-
//####################################################//
306368
transip: {
307369
display_name: 'TransIP',
308370
package_name: 'certbot-dns-transip',
@@ -313,22 +375,12 @@ certbot_dns_transip:dns_transip_key_file = /etc/letsencrypt/transip-rsa.key`,
313375
full_plugin_name: 'certbot-dns-transip:dns-transip',
314376
},
315377
//####################################################//
316-
acmedns: {
317-
display_name: 'ACME-DNS',
318-
package_name: 'certbot-dns-acmedns',
319-
package_version: '0.1.0',
320-
dependencies: '',
321-
credentials: `certbot_dns_acmedns:dns_acmedns_api_url = http://acmedns-server/
322-
certbot_dns_acmedns:dns_acmedns_registration_file = /data/acme-registration.json`,
323-
full_plugin_name: 'certbot-dns-acmedns:dns-acmedns',
324-
},
325-
//####################################################//
326-
duckdns: {
327-
display_name: 'DuckDNS',
328-
package_name: 'certbot-dns-duckdns',
329-
package_version: '0.5',
378+
vultr: {
379+
display_name: 'Vultr',
380+
package_name: 'certbot-dns-vultr',
381+
package_version: '1.0.3',
330382
dependencies: '',
331-
credentials: '<DUCKDNS_TOKEN>',
332-
full_plugin_name: 'certbot-dns-duckdns:dns-duckdns',
383+
credentials: 'certbot_dns_vultr:dns_vultr_key = YOUR_VULTR_API_KEY',
384+
full_plugin_name: 'certbot-dns-vultr:dns-vultr',
333385
},
334386
};

0 commit comments

Comments
 (0)