aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-16 11:42:31 +0200
committerKim Alvefur <zash@zash.se>2022-05-16 11:42:31 +0200
commitbd9db0ee1a39d1d2cf2476f51b44c5beaf5fa443 (patch)
treec378203025856bb797b05572d43772b94cf04558
parent7bc35fb961088137f7405a66e509c3d0e0bfc96d (diff)
parent1f668fed00d475ce4ca7e75d7b677d45a06ec5af (diff)
downloadprosody-bd9db0ee1a39d1d2cf2476f51b44c5beaf5fa443.tar.gz
prosody-bd9db0ee1a39d1d2cf2476f51b44c5beaf5fa443.zip
Merge 0.12->trunk
-rw-r--r--core/certmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 7958e8a9..0c71e448 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -158,7 +158,7 @@ local function find_cert_in_index(index, host)
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 @@ local function find_service_cert(service, port)
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),