From: William Lallemand Date: Fri, 27 Nov 2026 14:36:48 +0000 (+0000) Subject: DOC: configuration: warn against using SSLKEYLOGFILE X-Git-Url: https://git.kaiwu.me/http/%22../$%7BGITURL%7D/static/gitweb.js?a=commitdiff_plain;h=284daa102a6125a02aef5834a167315338675b9c;p=haproxy.git DOC: configuration: warn against using SSLKEYLOGFILE OpenSSL builds with native SSLKEYLOGFILE support can write TLS secrets directly to a file. This bypasses HAProxy logging, causes filesystem access in the traffic path and degrades performance. In master-worker mode, the keylog file descriptor also leaks across reloads. Document that this environment variable is unsupported and direct users to tune.ssl.keylog and the existing sample fetches instead. This documentation update must be backported to all stable branches. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 265630f61..cc84f9ae5 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -6022,6 +6022,11 @@ tune.ssl.keylog { on | off } care as it will consume more memory per SSL session and could decrease performances. This is disabled by default. + The SSLKEYLOGFILE environment variable is not supported by HAProxy. It + causes filesystem access and degrades performance. In master-worker mode, + it also leaks file descriptors on each reload. Use "tune.ssl.keylog on" + and the sample fetches below instead. + These sample fetches should be used to generate the SSLKEYLOGFILE that is required to decipher traffic with wireshark.