Answer the question
In order to leave comments, you need to log in
Haproxy doesn't pass X-SSL-Client-Verify header, why?
Hello.
I'm trying to activate mutual auth on haproxy and pass the necessary headers to the backend, which unfortunately do not reach.
haproxy config:
listen test
bind :80
bind :443 ssl crt /etc/ssl/certs/pem.pem ca-file /etc/ssl/certs/pem.crt verify optional
http-request set-header X-SSL %[ssl_fc]
http-request set-header X-SSL-Client-Verify %[ssl_c_verify]
http-request set-header X-SSL-Client-SHA1 %{+Q}[ssl_c_sha1]
http-request set-header X-SSL-Client-DN %{+Q}[ssl_c_s_dn]
http-request set-header X-SSL-Client-CN %{+Q}[ssl_c_s_dn(cn)]
http-request set-header X-SSL-Issuer %{+Q}[ssl_c_i_dn]
http-request set-header X-SSL-Client-Not-Before %{+Q}[ssl_c_notbefore]
http-request set-header X-SSL-Client-Not-After %{+Q}[ssl_c_notafter]
option httpchk GET /
http-check expect status 404
server kwv051 kwv051.my.com:80 check
server kwv052 kwv052.my.com:80 check
server kwv053 kwv053.my.com:80 check
server kwv054 kwv054.my.com:80 check
print_r($GLOBALS);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question