Fixes multi domain using default domain cert without trying to recreate for new domains (#6645)
Pablo Henrique Batista committed
Jan 1, 2025 at 17:04 UTC
f712cd942546ef185386faa9b08d304ddea163f3
1 file changed
+1
certoperations.js
+1
@@ -1049,6 +1049,7 @@ module.exports.CertificateOperations = function (parent) {
1049
config.domains[i].certs = r.dns[i];
1050
} else {
1051
console.log("WARNING: File \"webserver-" + i + "-cert-public.crt\" missing, domain \"" + i + "\" will not work correctly.");
1052
+ rcountmax++;
1053
}
1054
} else {
1055
// If the web certificate already exist, load it. Load both certificate and private key