From 7408db6601e61e6aad162cd0bc17fa7e01465be6 Mon Sep 17 00:00:00 2001 From: tigerbot Date: Thu, 15 Jun 2017 16:47:11 -0600 Subject: [PATCH] temp disable of multi-domain certificate requests --- lib/modules/tls.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/modules/tls.js b/lib/modules/tls.js index f557e2e..ece8cea 100644 --- a/lib/modules/tls.js +++ b/lib/modules/tls.js @@ -81,12 +81,13 @@ module.exports.create = function (deps, config, netHandler) { return; } - // We can't request certificates for wildcard domains, so filter any of those - // out of this list and put the domain that triggered this in the list if needed. - domains = (domains || []).filter(function (dom) { return dom[0] !== '*'; }); - if (domains.indexOf(opts.domain) < 0) { - domains.push(opts.domain); - } + // // We can't request certificates for wildcard domains, so filter any of those + // // out of this list and put the domain that triggered this in the list if needed. + // domains = (domains || []).filter(function (dom) { return dom[0] !== '*'; }); + // if (domains.indexOf(opts.domain) < 0) { + // domains.push(opts.domain); + // } + domains = [ opts.domain ]; // TODO: allow user to specify options for challenges or storage. Object.assign(opts, optsOverride, { domains: domains, agreeTos: true });