temp disable of multi-domain certificate requests
This commit is contained in:
parent
8fb70564db
commit
7408db6601
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue