cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
617
Views
0
Helpful
1
Replies

HTTP and HTTPS persistence with sticky cookie

jmfranco
Level 1
Level 1

Hi, we have a C6506 with CSM and SSLM module. We have configured it to load balance some webs, and these pages can be reached with HTTP and HTTPS. Well, we are using load-balance with sticky cookie persistence (cookie inserted by load balancer) to solve internet megaproxies issue. Now we are looking for to maintain persistence for HTTP and HTTPS in the same web (if one user access with HTTP and it´s load balanced to one server, if user try to access to the same web using HTTPS, it must be load balanced to the same server).

We tried to configure the same sticky group for HTTP and HTTPS vservers, for the same web, and persistence is maintained. However when you try to access with HTTP and then you access to the same web with HTTPS, server receives HTTP traffic, not HTTPS. In the same way, when you try to access with HTTPS and then you try to access with HTTP to the same web, we only see HTTPS traffic in server traces. It´s like load balancer try to maintain server persistence, and port persistence.

Well, we have tried to configure different sticky group for HTTP and HTTPS and sometimes persistence is not maintained for HTTP and HTTPS in the same web page. In this case we have found two cookies for the same web: "HTTP cookie" and "HTTPS cookie" in the same file.

For HTTPS we are using backend encryption: HTTPS request received by load balancer is sent to SSLM module to decrypt it, then unencrypted request is sent to CSM , CSM makes load balance decission (in this vserver sticky xx group yy command is configured), and unencrypted request is sent again to SSLM to encrypt it. Finally encrypted request is received by CSM and sent to real server.

Anybody can help us?

1 Reply 1

jmfranco
Level 1
Level 1

I hope HTTP and HTTPS configurations for one of our webs will be useful four you to help us to find a solution.

Greetings.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: