diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-04-03 12:03:24 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-04-03 12:03:24 +0100 |
commit | 3905dcae02962457bfa8d426c472944358cfcf20 (patch) | |
tree | bf4f8f4259e77140a452120b5595ec346b505f8c | |
parent | e4fa881601597252684dcc0c4051c4f10691c5a8 (diff) | |
download | prosody-3905dcae02962457bfa8d426c472944358cfcf20.tar.gz prosody-3905dcae02962457bfa8d426c472944358cfcf20.zip |
portmanager: Add debug log message to state which certificate we end up using
-rw-r--r-- | core/portmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua index 2a090398..3b9b8d67 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -258,6 +258,7 @@ local function add_sni_host(host, service) if not ssl then log("error", "Error creating TLS context for SNI host %s: %s", host, err); else + log("debug", "Using certificate %s for %s (%s) on %s (%s)", cfg.certificate, service or name, name, alternate_host or host, host) local ok, err = active_service.server:sslctx():set_sni_host( alternate_host or host, cfg.certificate, |