From 41ef35f0d032756a8708c233671e1db504fee491 Mon Sep 17 00:00:00 2001 From: chaptergy Date: Mon, 7 Jun 2021 08:27:01 +0200 Subject: [PATCH] Fixes duckdns certbot --- backend/internal/certificate.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js index 28a64155..c887e681 100644 --- a/backend/internal/certificate.js +++ b/backend/internal/certificate.js @@ -808,7 +808,7 @@ const internalCertificate = { const prepare_cmd = 'pip install ' + dns_plugin.package_name + '==' + dns_plugin.package_version + ' ' + dns_plugin.dependencies; // Whether the plugin has a ---credentials argument - const has_config_arg = certificate.meta.dns_provider !== 'route53' && certificate.meta.dns_provider !== 'duckdns'; + const has_config_arg = certificate.meta.dns_provider !== 'route53'; let main_cmd = certbot_command + ' certonly --non-interactive ' + @@ -834,10 +834,6 @@ const internalCertificate = { main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd; } - if (certificate.meta.dns_provider === 'duckdns') { - main_cmd = main_cmd + ' --' + dns_plugin.full_plugin_name + '-token ' + certificate.meta.dns_provider_credentials; - } - if (debug_mode) { logger.info('Command:', `${credentials_cmd} && ${prepare_cmd} && ${main_cmd}`); }