Software /
code /
prosody
Changeset
13814:98e68a68c1da 13.0
portmanager: Add debug log message to state which certificate we end up using
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 03 Apr 2025 12:03:24 +0100 (3 months ago) |
parents | 13813:fd7b0adada05 |
children | 13815:a699d611a0ba 13816:4122978f2575 |
files | core/portmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/portmanager.lua Thu Apr 03 12:02:45 2025 +0100 +++ b/core/portmanager.lua Thu Apr 03 12:03:24 2025 +0100 @@ -258,6 +258,7 @@ 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,