Changeset

12508:e6cfd0a6f0da

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 16 May 2022 11:42:31 +0200
parents 12506:d04f6f014636 (current diff) 12507:e242a6e74424 (diff)
children 12511:a24d2b3c19a3
files core/certmanager.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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),