Brian_Buddemeye
Sep 26, 2006Nimbostratus
iRule to choose pool and handle SSL termination
Hello,
I'm working on an LTM implementation where we are trying to direct traffic to individual pools based on an application name in the URI. I've written the rule below to handle the pool selection for what is currently an "all protocols" virtual server:
when HTTP_REQUEST {
switch [HTTP::uri] {
"/app1" {
pool p_app1
}
"/app2" {
pool p_app2
}
}
In our tests, this rule is doing what we would expect for regular end-to-end HTTP traffic. However, we want to use the LTM to terminate SSL when we move this system into production. The catch is that I need to present different certificates to the client depending on what application is being accessed. How can I modify the rule above (or create a new one if necessary) to handle that half of my requirement?
Thanks in advance for any help you can provide!