François_Bégin_
Mar 24, 2006Nimbostratus
Stumped on iRule for SSL traffic
Hi,
I seem to be stumped here. I have an iRule that does re-direction based on HTTP:HOST.
when HTTP_REQUEST {
if { [HTTP::host] starts_with "billing.domain.com"} {
pool billing.domain.com_pool
} elseif { [HTTP::host] starts_with "hr.domain.com"} {
pool hr.domain.com_pool
}
This works fine for http traffic. I added another virtual server for https traffic and it does not appear to work. The SSL certs are on the servers in the two pools (not on the F5). I just want to use the F5 to load-balance the traffic.
Is this not working because the traffic from the client to the F5 is encrypted and the F5 cannot read [HTTP:host]? Is the only solution to terminate the SSL connection on the F5?