Hi, I am trying to setup HTTPS redirect so all the traffic to https://www.example.com/ go to https://www.example.com/guest, but this HTTPS virtual server is not using F5 to do SSL offload, so F5 to backend server is HTTPS not HTTP.
I tried using F5 to decrypt the HTTPS traffic by loading an SSL client cert to this virtual server, so it can use iRule, and then encrypt it before it sends back to server, but couldn’t get that to work.
I wonder if F5 can do this kind of redirect, with iRule or something else.
I tried using F5 to decrypt the HTTPS traffic by loading an SSL client cert to this virtual server, so it can use iRule, and then encrypt it before it sends back to server, but couldn’t get that to work.
can you post the configuration?
tmsh list ltm virtual virtual_server_name
tmsh list ltm pool pool_name
I tried using F5 to decrypt the HTTPS traffic by loading an SSL client cert to this virtual server, so it can use iRule, and then encrypt it before it sends back to server, but couldn’t get that to work.
can you post the configuration?
tmsh list ltm virtual virtual_server_name
tmsh list ltm pool pool_name
Yes f5 can do this. Apply a Client SSL profile to the VS to decrypt/terminate the SSL traffic. Use the certificate for the hostname required i.e. www.example.com.
If you then want to re-encrypt to the backend then you can simply apply the default serverssl Server SSL profile to the VS too.
As for redirecting the uri then you can use an iRule, else a HTTP Class Profile (applied to the VS) or a Local Traffic Policy too (if using TMOS 11.4 and above).
In short, if you do not decrypt the SSL at the proxy (F5), you cannot have the proxy issue an HTTP redirect. If you are willing to decrypt (and optionally re-encrypt) the data at the proxy, then you can absolutely do an HTTP redirect. Based on your question, I’d recommend revisiting the decrypt/re-encrypt option. That requires client and server SSL profile applied to the virtual server. Are you requiring client certificate at the web server, or any specific SSL requirements that may be causing issues in the re-encryption?
Thanks everyone for the help, and I got this working with both client and server SSL profile applied to the https virtual server.
Thanks again, DevCentral is really a unique place comprised of super-smart users who know just about everything there is to know about F5 technology, most time I can find my answer from DevCentral instead of need to contact F5 support.