Hi,
I am developing an iRule which selects the server side SSL profile based on the Host name of the request. It is almost there but critically I am getting an error which…and I have tried lots of alternatives…seems to have stopped me in my tracks.
Can anyone point out where I am going wrong please.
iRule:
when HTTP_REQUEST {
set host [HTTP::host]
if { $host equals “www.f5petshop.co.uk”} {
pool PetShop_Pool_SSL
} else {
pool PetShop_Pool_Clear}
}
when SERVER_CONNECTED {
if { $host equals “www.f5petshop.co.uk”} {
SSL::profile PetShop
}
}
Error in log:
TCL error: Rule PetShop_SSL_Selection - wrong args: should be "SSL::profile " while executing “SSL::profile PetShop”