Let's Encrypt Skip Challenge Verification added to server console LE command, #3296

This commit is contained in:
Ylian Saint-Hilaire 2021-11-28 20:54:34 -08:00
parent 5d276c9c00
commit a2ce9b8573
1 changed files with 2 additions and 1 deletions

View File

@ -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'; }