iRule to select SSL Profile (Client)

Does anyone know how to create an iRule that will dynamically select the SSL Profile (Client) based on the incoming URL? Logic would be something like this:

IF URL contains *.abc.com

USE client_SSL_Profile_1

ELSE IF URL contains *.def.com

USE client_SSL_Profile_2

ELSE

discard

Thanks in advance.

John

SSL is established before seeing any HTTP transaction so it won’t be possible to do this

In addition to nmenant’s info, there is a possible solution for the future using a new TLS extension. Check this post (Click here) for more detail.

Aaron