Fixes multi domain using default domain cert without trying to recreate for new domains (#6645)

This commit is contained in:
Pablo Henrique Batista 2025-01-01 17:04:32 -03:00 committed by GitHub
parent c4592dcc4f
commit f712cd9425
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1049,6 +1049,7 @@ module.exports.CertificateOperations = function (parent) {
config.domains[i].certs = r.dns[i];
} else {
console.log("WARNING: File \"webserver-" + i + "-cert-public.crt\" missing, domain \"" + i + "\" will not work correctly.");
rcountmax++;
}
} else {
// If the web certificate already exist, load it. Load both certificate and private key