Skip to content

Commit 1c93ca9

Browse files
authored
Merge pull request #1158 from jc21/fixes-duckdns-certbot
2 parents 5e6ce86 + 41ef35f commit 1c93ca9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

backend/internal/certificate.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ const internalCertificate = {
808808
const prepare_cmd = 'pip install ' + dns_plugin.package_name + '==' + dns_plugin.package_version + ' ' + dns_plugin.dependencies;
809809

810810
// Whether the plugin has a --<name>-credentials argument
811-
const has_config_arg = certificate.meta.dns_provider !== 'route53' && certificate.meta.dns_provider !== 'duckdns';
811+
const has_config_arg = certificate.meta.dns_provider !== 'route53';
812812

813813
let main_cmd =
814814
certbot_command + ' certonly --non-interactive ' +
@@ -834,10 +834,6 @@ const internalCertificate = {
834834
main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd;
835835
}
836836

837-
if (certificate.meta.dns_provider === 'duckdns') {
838-
main_cmd = main_cmd + ' --' + dns_plugin.full_plugin_name + '-token ' + certificate.meta.dns_provider_credentials;
839-
}
840-
841837
if (debug_mode) {
842838
logger.info('Command:', `${credentials_cmd} && ${prepare_cmd} && ${main_cmd}`);
843839
}

0 commit comments

Comments
 (0)