This commit is contained in:
Girish Ramakrishnan
2019-10-01 14:40:24 -07:00
parent 7baf979a59
commit 9bc2f45164

View File

@@ -369,7 +369,7 @@ function ensureCertificate(vhost, domain, auditSource, callback) {
notifyCertChanged(vhost, function (error) {
if (error) return callback(error);
if (certFilePath && keyFilePath) callback(null, { certFilePath, keyFilePath }, { renewed: true });
if (certFilePath && keyFilePath) return callback(null, { certFilePath, keyFilePath }, { renewed: true });
// if no cert was returned use fallback. the fallback/caas provider will not provide any for example
getFallbackCertificate(domain, function (error, bundle) {