Forum Discussion
Daniel_Wolf
Aug 17, 2021MVP
Hi ,
try this iRule, I think it should work.
when SERVER_CONNECTED {
if { [HTTP::uri] starts_with "/abc" } {
SSL::profile serverssl_profile1
} elseif { [HTTP::uri] starts_with "/xyz" } {
SSL::profile serverssl_profile2
} elseif { [HTTP::uri] starts_with "/lalala" } {
SSL::profile serverssl_profile3
} else {
# default
# SSL::disable
}
}
KR
Daniel
- Daniel_WolfAug 17, 2021MVP
Sorry, please ignore my above response. I misunderstood your requirement, I understood it like mTLS on the serverside.
I think your requirement cannot be satisfied. First TLS handshake happens, then HTTP URI is inspected. I would not know how to turn this process around.