missed log and wrong schema value for custom acme server #7450
Signed-off-by: si458 <simonsmith5521@gmail.com>
si458 committed
Dec 2, 2025 at 15:17 UTC
081c3896d43b8cdbc55c7ee2b8ca4c89ff9b9837
2 files changed
+8
-2
letsencrypt.js
+7
-1
@@ -206,7 +206,13 @@ module.exports.CreateLetsEncrypt = function (parent) {
206
acme.forge.createCsr(certRequest).then(function (r) {
207
obj.csr = r[1];
208
obj.tempPrivateKey = r[0];
209
- if(obj.zerossl) { obj.log("Requesting certificate from ZeroSSL..."); } else { obj.log("Requesting certificate from Let's Encrypt..."); }
209
+ if(obj.zerossl) {
210
+ obj.log("Requesting certificate from ZeroSSL...");
211
+ } else if(obj.custom) {
212
+ obj.log("Requesting certificate from Custom ACME server...");
213
+ } else {
214
+ obj.log("Requesting certificate from Let's Encrypt...");
215
+ }
216
obj.client.auto({
217
csr: obj.csr,
218
email: obj.parent.config.letsencrypt.email,
meshcentral-config-schema.json
+1
-1
@@ -4014,7 +4014,7 @@
4014
"default": false,
4015
"description": "If you choose \"true\", MeshCentral won't verify if \"email\" is valid, has a valid MX record, AND if \"names\" doesn't contain a wildcard, can be resolved by DNS A/AAAA record."
4016
},
4017
- "acme": {
4017
+ "custom": {
4018
"type": "object",
4019
"description": "If this object is set, we will use a custom acme server with custom kid and hmackey for SSL creation instead of Let's Encrypt",
4020
"required": [