Suppress noisy TLS log

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-02-09 10:08:34 +01:00
parent c0de20da14
commit 99f1da1560

View File

@@ -773,7 +773,8 @@ func (impl *Implm) runTrustCenterServer(
strings.Contains(msg, "tls: client requested unsupported application protocols") ||
strings.Contains(msg, "read: connection reset by peer") ||
strings.Contains(msg, "tls: unsupported SSLv2 handshake received") ||
strings.Contains(msg, "tls: no cipher suite supported by both client and server")
strings.Contains(msg, "tls: no cipher suite supported by both client and server") ||
strings.Contains(msg, "tls: received record with version")
}
httpServerLogger := l.Named("", log.SkipMatch(ignoreTLSHandshakeErrors))
httpsServer := httpserver.NewServer(