Ssl HAProxy在关闭后丢失客户端证书
我设置了HAProxy 1.5.14以使用客户端证书。这对于单个请求很有效,但在HTTP关闭后,HAProxy似乎会丢失客户端证书 从haproxy.conf:Ssl HAProxy在关闭后丢失客户端证书,ssl,curl,haproxy,client-certificates,Ssl,Curl,Haproxy,Client Certificates,我设置了HAProxy 1.5.14以使用客户端证书。这对于单个请求很有效,但在HTTP关闭后,HAProxy似乎会丢失客户端证书 从haproxy.conf: frontend localhost_https bind *:8443 ssl crt /etc/private/server.pem.key_and_cert no-sslv3 ca-file /etc/certs/client_ca.pem verify required option forceclose
frontend localhost_https
bind *:8443 ssl crt /etc/private/server.pem.key_and_cert no-sslv3 ca-file /etc/certs/client_ca.pem verify required
option forceclose
default_backend my_http
我正在使用forceclose可靠地触发HTTP关闭。调用curl现在显示第一个请求正确地进行了身份验证,但第二个请求没有
$ (curl --cert /tmp/client.pem https://localhost:8443/ https://localhost:8443/ -vk > /dev/null) 2>&1|grep HTTP
> GET / HTTP/1.1
< HTTP/1.1 200 OK
> GET / HTTP/1.1
< HTTP/1.0 401 Unauthorized
$(curl--cert/tmp/client.pemhttps://localhost:8443/ https://localhost:8443/ -vk>/dev/null)2>&1 | grep HTTP
>GET/HTTP/1.1
GET/HTTP/1.1
我错过什么了吗?为什么HAProxy不向客户端发送请求,以便在第二次请求时发送客户端证书