Forum Discussion
MarkM_63051
Jan 23, 2012Nimbostratus
HTTPS Problem
Hello,
Up until now using the F5 has been fairly straight forward. Adding HTTPS certificate support for incoming IE connections however has got me stumped. I have watched the online webinar and tried many variations to get it working without success.
What I am trying to do is to take a working HTTP connection through the F5 to a pool consisting of a pair of Tomcat servers and convert the virtual server connection from HTTP to HTTPS. Wireshark traces show the F5 and the Tomcat communicating with each other and all of the status balls are green. How do I go about debugging my problem? Where do I look to find out what is not happening?
Regards,
Mark
- nitassEmployeeWould you please explain what I just did to make it work?i suspect http redirect from pool might not be rewritten correctly since pool is not listening on default port 80.
- MarkM_63051NimbostratusCan the http Redirect Rewrite = ALL be built into an iRule? I need to create rules for my pools that use cookie persistance.
- nitassEmployeeCan the http Redirect Rewrite = ALL be built into an iRule?yes
root@ve1100(Active)(/Common)(tmos) list ltm virtual bar ltm virtual bar { destination 172.28.19.252:443 ip-protocol tcp mask 255.255.255.255 pool foo profiles { clientssl { context clientside } http { } tcp { } } rules { myrule } snat automap vlans-disabled } root@ve1100(Active)(/Common)(tmos) list ltm pool foo ltm pool foo { members { 200.200.200.101:8080 { address 200.200.200.101 } } } root@ve1100(Active)(/Common)(tmos) list ltm rule myrule ltm rule myrule { when HTTP_RESPONSE { if {[HTTP::is_redirect]} { HTTP::header replace Location [string map {"http://200.200.200.101:8080" "https://172.28.19.252"} [HTTP::header Location]] } } } [root@ve1100:Active] config curl -I http://200.200.200.101:8080/test HTTP/1.1 302 Found Date: Tue, 24 Jan 2012 23:17:46 GMT Server: Apache/2.2.3 (CentOS) Location: http://200.200.200.101:8080/redir/test Content-Type: text/html; charset=iso-8859-1 [root@ve1100:Active] config curl -Ik https://172.28.19.252/test HTTP/1.1 302 Found Date: Tue, 24 Jan 2012 23:17:57 GMT Server: Apache/2.2.3 (CentOS) Location: https://172.28.19.252/redir/test Content-Type: text/html; charset=iso-8859-1
- hooleylistCirrostratusNice work Nitass :)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects