diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 8950573a4..b8e6b6ae0 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -117,7 +117,9 @@ function providerMatchesSync(domainObject, certFilePath, apiOptions) { const mismatch = issuerMismatch || wildcardMismatch; - debug(`providerMatchesSync: ${certFilePath} subject=${subject} domain=${domain} issuer=${issuer} wildcard=${isWildcardCert}/${apiOptions.wildcard} prod=${isLetsEncryptProd}/${apiOptions.prod} match=${!mismatch}`); + debug(`providerMatchesSync: ${certFilePath} subject=${subject} domain=${domain} issuer=${issuer} ` + + `wildcard=${isWildcardCert}/${apiOptions.wildcard} prod=${isLetsEncryptProd}/${apiOptions.prod} ` + + `issuerMismatch=${issuerMismatch} wildcardMismatch=${wildcardMismatch} match=${!mismatch}`); return !mismatch; } @@ -334,7 +336,7 @@ function ensureCertificate(vhost, domain, auditSource, callback) { debug(`ensureCertificate: ${vhost} certificate already exists at ${currentBundle.keyFilePath}`); if (!isExpiringSync(currentBundle.certFilePath, 24 * 30) && providerMatchesSync(domainObject, currentBundle.certFilePath, apiOptions)) return callback(null, currentBundle, { renewed: false }); - debug(`ensureCertificate: ${vhost} cert require renewal`); + debug(`ensureCertificate: ${vhost} cert requires renewal`); } else { debug(`ensureCertificate: ${vhost} cert does not exist`); }