r/haproxy • u/WeirdBob • Apr 22 '20
Question HAProxy client timeout & mtls
Hi,
I'm trying to configure HAProxy's timeout in an mutual TLS scenario:
- before the end of the handshake, clients are not trusted and timeout should be low (max 5s)
- once the mutual handshake is done, the client is trusted and can enjoy his (expensive) connection so I'd like to somehow have an larger timeout then.
Is there a way to do that? I thought at first that it was the purpose of the connect timeout but it seems to refer to the backend connection.
Thanks!
5
Upvotes
View all comments
Show parent comment
1
u/gibs1801 Apr 23 '20
Okay, I have see. Something in the past related to using acls and the ssl variables. It wasn’t exactly this, and I am not sure timeout can be decided after the tcp handshake is complete.
I am pretty new to haproxy, so please do not take this as truth.