mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added Let's Encrypt exception check.
This commit is contained in:
parent
fc1e084576
commit
915eb44f57
2 changed files with 15 additions and 3 deletions
|
@ -156,7 +156,8 @@ module.exports.CreateLetsEncrypt = function (parent) {
|
|||
|
||||
obj.requestCertificate = function () {
|
||||
if (obj.pendingRequest == true) return;
|
||||
if (obj.configOk == false) { obj.log("Can't request cert, invalid configuration.");return; }
|
||||
if (obj.configOk == false) { obj.log("Can't request cert, invalid configuration."); return; }
|
||||
if (acme.forge == null) { obj.log("Forge not setup in ACME, unable to continue."); return; }
|
||||
obj.pendingRequest = true;
|
||||
|
||||
// Create a private key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue