SSL redirection from HTTPS to 8443
Hi all,
I'm experiencing an issue this an URL redirection. I would like to redirect client request from https://foobar.com to https://foobar.com:8443/customuri
I have created two VS with SSL termination on the F5.
On the VS for HTTPS there is no pool associated to the VS just an iRule for the redirection. The iRule is the following :
when HTTP_REQUEST {[
[HTTP::redirect "https://foobar.com:8443/customuri"]]
}
When using a browser, i just got a blank page but with curl i have more details about the issue :
SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
Futhermore, when i'm checking in the /var/log/ltm, i have also the following message :
err tmm2[16953]: 01220001:3: TCL error: /Common/URL_Redirect - invalid command name "" while executing "[HYPERLINK "http::redirect"HTTP::redirect "https://foobar.com:8443/customuri"]"
I have also an HTTP VS with no pool and the same iRule and it's working just fine.
Is anyone have an idea of what is wrong ?
Thank you