Forum Discussion
Brian_Dantzig
Jul 03, 2012Nimbostratus
selective drop of SSL
I have a virtual server that has client and server ssl profiles so that incoming HTTPS is terminated then after processing is re-encrypted to the pool. There is an iRule that inspects the HTTP reques...
Eric_St__John
Jul 03, 2012Employee
Depending on how many paths you would like to exclude from encryption, you could use a couple of different methods. The simplest method for a single path:
when CLIENT_ACCEPTED {
SSL::disable serverside
}
when HTTP_REQUEST {
if {!([string tolower [HTTP::path]] starts_with "/standardhttppath") } {
SSL::enable serverside
}
}
Or, if you have many paths that you would like to list in a data group (called 'standard_http_dg' in this example)
when CLIENT_ACCEPTED {
SSL::disable serverside
}
when HTTP_REQUEST {
if { ![class match [string tolower [HTTP::path]] starts_with standard_http_dg] } {
SSL::enable serverside
}
}
Regards,
Eric
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