helm123_141710
Jan 28, 2015Nimbostratus
irule with different SSL profiles depending on the pool.
Converting another load balancing device to the F5 and have a question that I just can't seem to find the answer for. I have an HTTPS virtual server that going to load balance different pools based on the matches and some pools use different cert/key pairs (aka profiles). Below is a slight example that I have tried but it always fails on the profile part. There's actually many more matches in the irule that goes to many more pools with other SSL profiles.
when HTTP REQUEST {
switch -glob [HTTP::uri] {
"/external/lifts/docs" -
"/internal/sites" {
pool CompanyA
SSL::enable serverside
SSL::profile CompanyA
}
"/external/boats/docs" -
"/internal/states" {
pool CompanyB
SSL::enable serverside
SSL::profile CompanyB
}
}
}