Forum Discussion
CraigM_17826
Altocumulus
Nov 29, 2009Server ssl profile and pools issue
Hi all,
First up, apologies in advance for the long posting, but I wanted to give as much detail as possible.
This is the situation. I have been asked to make some changes to ou...
CraigM_17826
Altocumulus
Nov 30, 2009Hi Aaron,
ok, I've simplified it a bit now. The thing that threw me was that it seems that I have to have the server ssl profile defined in the properties of the virtal server or else the SSL::profile command seems to fail.
Here is what I ended up with
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/exam-services" } {
pool "ExamServices"
return 0
}
[other code]
when SERVER_CONNECTED {
if { [string tolower [LB::server pool]] eq "examservices" } {
SSL::profile "ExamSevices"
} else {
SSL::disable serverside
}
}
and this seems to work. Still unsure if this is best practice though.
Regards
Craig
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