Diff

core/certmanager.lua @ 12508:e6cfd0a6f0da

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 16 May 2022 11:42:31 +0200
parent 12481:2ee27587fec7
parent 12507:e242a6e74424
child 12972:ead41e25ebc0
line wrap: on
line diff
--- a/core/certmanager.lua	Sun May 15 23:22:33 2022 +0200
+++ b/core/certmanager.lua	Mon May 16 11:42:31 2022 +0200
@@ -158,7 +158,7 @@
 	if certs then
 		local cert_filename, services = next(certs);
 		if services["*"] then
-			log("debug", "Using cert %q from index", cert_filename);
+			log("debug", "Using cert %q from index for host %q", cert_filename, host);
 			return {
 				certificate = cert_filename,
 				key = find_matching_key(cert_filename),
@@ -184,7 +184,7 @@
 	for _, certs in pairs(cert_index) do
 		for cert_filename, services in pairs(certs) do
 			if services[service] or services["*"] then
-				log("debug", "Using cert %q from index", cert_filename);
+				log("debug", "Using cert %q from index for service %s port %d", cert_filename, service, port);
 				return {
 					certificate = cert_filename,
 					key = find_matching_key(cert_filename),