Let's Encrypt Skip Challenge Verification added to server console LE command, #3296
This commit is contained in:
parent
5d276c9c00
commit
a2ce9b8573
|
@ -227,7 +227,8 @@ module.exports.CreateLetsEncrypt = function (parent) {
|
||||||
challenges: obj.challenges,
|
challenges: obj.challenges,
|
||||||
production: obj.runAsProduction,
|
production: obj.runAsProduction,
|
||||||
webServer: obj.redirWebServerHooked,
|
webServer: obj.redirWebServerHooked,
|
||||||
certPath: obj.certPath
|
certPath: obj.certPath,
|
||||||
|
skipChallengeVerification: (obj.parent.config.letsencrypt.skipchallengeverification == true)
|
||||||
};
|
};
|
||||||
if (obj.configErr) { r.error = "WARNING: " + obj.configErr; }
|
if (obj.configErr) { r.error = "WARNING: " + obj.configErr; }
|
||||||
if (obj.certExpire) { r.cert = 'Present'; r.daysLeft = Math.floor((obj.certExpire - new Date()) / 86400000); } else { r.cert = 'None'; }
|
if (obj.certExpire) { r.cert = 'Present'; r.daysLeft = Math.floor((obj.certExpire - new Date()) / 86400000); } else { r.cert = 'None'; }
|
||||||
|
|
Loading…
Reference in New Issue