Forum Discussion
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 ...
helm123_141710
Nimbostratus
Should have replied back long ago that we got this working with the below.
When HTTP REQUEST { switch -glob [HTTP::uri] {
"/external/lifts/docs" -
"/internal/sites" {
pool CompanyA set doSSL 1 } "/external/boats/docs" -
"/internal/states" { pool CompanyB set doSSL 2 } } } when SERVER_CONNECTED { if { $doSSL == 1 } { SSL::enable serverside SSL::profile SSL_2Way } elseif { $doSSL == 2 } { SSL::enable serverside SSL::profile SSL_1Way }
}
helm123_141710
Jun 24, 2015Nimbostratus
Should have replied back long ago that we got this working with the below.
When HTTP REQUEST {
switch -glob [HTTP::uri] {
"/external/lifts/docs" -
"/internal/sites" {
pool CompanyA
set doSSL 1
}
"/external/boats/docs" -
"/internal/states" {
pool CompanyB
set doSSL 2
}
}
}
when SERVER_CONNECTED {
if { $doSSL == 1 } {
SSL::enable serverside
SSL::profile SSL_2Way
}
elseif { $doSSL == 2 } {
SSL::enable serverside
SSL::profile SSL_1Way
}
}
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