Forum Discussion
Ron_Adams_11068
Nimbostratus
Jan 12, 2006Select among clientssl profiles
Need help with 9.2 iRule syntax to select a clientssl profile other than the default assigned to the virtual server?
A previous post returned this statement:
"Unfortunately, you're go...
Ron_Adams_11068
Nimbostratus
Feb 08, 2006The sample code provided on DevCentral at http://devcentral.f5.com/wiki/default.aspx/iRules/SSL__profile.html shows the following:
when HTTP_REQUEST {
if { [HTTP::host] eq "host1" } {
SSL::profile host1_profile
} else {
SSL::profile ssl_profile2
}
SSL::renegotiate
}
This is close to what I need to accomplish, yet this results in an error:
[command is not valid in current event context (HTTP_REQUEST)] [SSL::profile host1_profile]
So event context seems to be the major stumbling block. I can't do SSL commands with when HTTP_REQUEST and I can't accesst [HTTP::host] or use SSL:renegotiate with when CLIENT_ACCEPTED.
Is there a valid example of using the SSL::profile command to switch profiles based on host name?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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