Forum Discussion
lori_54451
Nimbostratus
Sep 22, 2007cookie insert persistence/ https
We have a website that is managing the SSL encrption from the servers. We are getting ready to turn on Akamai service. One of the requirements is to change from source ip persistence to cookie persistence. I've been working with cookie insert, seemed like the easiest method, but, i can't get it to function properly with https even after adding ssl terminiation on the bigip, client and server side. It functions splendidly as long as the requests are all http. As soon as the server redirects traffic from http to https all sorts of strange behavior occurs. Is there a way to manage this with an iRule.
- Deb_Allen_18Historic F5 AccountI don't think you need an iRule for this. You should be able to use a minor sleight of hand with cookie insert persistence to make it happen.
pool servers_port80 member 1.2.3.4:80 member 1.2.3.5:80 persist cookie insert virtual http dest x.x.x.x:80 pool servers_port80 virtual https dest x.x.x.x:443 pool servers_port80 port translation enabled clientssl profile
(This second option takes advantage of the fact that when using wildcard pool members, port translation is disabled by default, and the same destination port requested by the client is used when connecting with the server.)pool servers_port0 member 1.2.3.4:0 member 1.2.3.5:0 persist cookie insert virtual http dest x.x.x.x:80 pool servers_port0 virtual https dest x.x.x.x:443 pool servers_port0 clientssl profile serverssl profile
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects