mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 02:51:50 +00:00
Fixes multi domain using default domain cert without trying to recreate for new domains (#6645)
This commit is contained in:
parent
c4592dcc4f
commit
f712cd9425
1 changed files with 1 additions and 0 deletions
|
@ -1049,6 +1049,7 @@ module.exports.CertificateOperations = function (parent) {
|
||||||
config.domains[i].certs = r.dns[i];
|
config.domains[i].certs = r.dns[i];
|
||||||
} else {
|
} else {
|
||||||
console.log("WARNING: File \"webserver-" + i + "-cert-public.crt\" missing, domain \"" + i + "\" will not work correctly.");
|
console.log("WARNING: File \"webserver-" + i + "-cert-public.crt\" missing, domain \"" + i + "\" will not work correctly.");
|
||||||
|
rcountmax++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If the web certificate already exist, load it. Load both certificate and private key
|
// If the web certificate already exist, load it. Load both certificate and private key
|
||||||
|
|
Loading…
Reference in a new issue