|
@ -407,6 +407,19 @@ module.exports.create = function (gl) { |
|
|
copy.challenges[challenge.type].remove(copy, challenge.altname, challenge.token, done); |
|
|
copy.challenges[challenge.type].remove(copy, challenge.altname, challenge.token, done); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
certReq.init = function (deps) { |
|
|
|
|
|
var copy = utils.merge(deps, args); |
|
|
|
|
|
copy = utils.merge(copy, gl); |
|
|
|
|
|
utils.tplCopy(copy); |
|
|
|
|
|
|
|
|
|
|
|
Object.keys(copy.challenges).forEach(function (key) { |
|
|
|
|
|
if ('function' === typeof copy.challenges[key].init) { |
|
|
|
|
|
copy.challenges[key].init(copy); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
}; |
|
|
certReq.getZones = function (challenge) { |
|
|
certReq.getZones = function (challenge) { |
|
|
var copy = utils.merge({ dnsHosts: args.domains.map(function (x) { return 'xxxx.' + x; }) }, args); |
|
|
var copy = utils.merge({ dnsHosts: args.domains.map(function (x) { return 'xxxx.' + x; }) }, args); |
|
|
copy = utils.merge(copy, gl); |
|
|
copy = utils.merge(copy, gl); |
|
|