]> git.kaiwu.me - haproxy.git/commit
MINOR: ssl: Add new 'pha' server option
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 20 Oct 2026 14:16:40 +0000 (16:16 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 21 Oct 2026 14:31:48 +0000 (14:31 +0000)
commitd66d5d94fce5b2cc9294a2bbc9e79579fd94b5ce
treedce488558c1edb62ec696e6db8ef74fbacf50da2
parent840d0ea42845a91a8c4ca7b4ac7f649bc928038f
MINOR: ssl: Add new 'pha' server option

This backend option allows post handshake authentication for the given
backend. This simply consists in adding a "post_handshake_auth"
extension in the ClientHello that tells the server that PHA is
supported. We only enable it for backends that have an explicit
certificate provided so that this certificate gets always used in
subsequent CertificateRequest messages sent by the server.
This does not work with AWS-LC (PHA unsupported) or WolfSSL which would
support it but only when WolfSSL is built with
WOLFSSL_POST_HANDSHAKE_AUTH defined (disabled by default).
doc/configuration.txt
include/haproxy/server-t.h
src/cfgparse-ssl.c
src/server.c
src/ssl_sock.c