I’ve created a VIP which handle the SSL-termination. Then I have a server-pool with the tomcat-server, which listen on port tcp 8080.
When I connect directly to the tomcat-server with tcp:8080, then all works fine. When I connect through the loadbalancer with https://, then I got error-messages from the tomcat-server.
I tried with a streaming rule to replace http:// with https:// on the vip → no success.
How do I configure the loadbalancer, to make proper requests to the tomcat-server?
I assume the issue is that tomcat is including http:// and/or port 8080 in references to itself. Can you use a browser plugin like HttpFox for Firefox or Fiddler for IE to see which headers and/or what in the payload is breaking the LTM proxying of the application?
I installed httpfox and I can see, that the first connect is established with https://. Then I got a redirect (http/302) to “http://”. Is there a f5-way, to solve this problem? Or do I need to solve this problem in the “application”-way?
Tomtux: thanks for posting your solution - we used to run into this frequently back in my prior job, and your solution is preferred IMO. It’s a good one to have in the bag of tricks!