Lee_Sutcliffe
Mar 26, 2010Nacreous
irule to select SSL client cert based on HTTP header
I've wrote a simple irule that forwards requests to a relevent pool based on the contents of the HTTP header.
This works fine for HTTP requests however I'd like to ammend it so that in addition to forwarding to the correct pool, it also selects the correct SSL client profile.
This is the irule I have for the http requests
when HTTP_REQUEST {
if {[HTTP::header "host"] contains {abc}} {
pool abc-pool
}
else{pool xyz-pool}
}
Any help would be appreciated.
Thanks