mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 06:05:53 -05:00
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,
|
||||
production: obj.runAsProduction,
|
||||
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.certExpire) { r.cert = 'Present'; r.daysLeft = Math.floor((obj.certExpire - new Date()) / 86400000); } else { r.cert = 'None'; }
|
||||
|
Loading…
Reference in New Issue
Block a user