Forum Discussion
Geoff_Littlewoo
Nimbostratus
Jun 30, 2008SSL re-direction for Exchange 2003
Using BIG-IP 1500 to manage traffic through to an Exchange 2003 server. It is https traffic with an SSL certificate held on the F5 device. If i create a VS to the Exchange server using http, the standard re-direct script kicks in as expected. If I connect using the VS setup to allow HTTPS and the SSL vert added to this VS then, the re-direction does not take place.
I guess there must be a standard iRule to fix this when connecting to an Exchange 2003 server ?
8 Replies
- hoolio
Cirrostratus
You can configure LTM to insert an HTTP header (Front-End-Https: On) which lets OWA know it's being proxied by an SSL offloading device. - Geoff_Littlewoo
Nimbostratus
This does not cover the re-direction to the /exchange folder ? - hoolio
Cirrostratus
Here is a quick one to redirect / to /exchange:when HTTP_REQUEST { Redirect / to /exchange if {[HTTP::uri] eq "/"}{ HTTP::redirect https://[HTTP::host]/exchange } }
- Geoff_Littlewoo
Nimbostratus
Ok added that iRule in to the device, and attempted to connect. SSL prompt works, then seemlingly still tries to re-direct but just display "Internet Explorer cannot display the webpage" - hoolio
Cirrostratus
It sounds like the request is making it to the HTTPS VIP and is being redirected to the new URI. If you make a request to https://domain/exchange do you see the request leave LTM and make it to the web server? Does the reply get back to LTM and then the client? You can check this using tcpdump. If not, is the web server's default gateway set to the LTM's floating self IP on that VLAN? Or do you have SNAT enabled on the VIP? - Geoff_Littlewoo
Nimbostratus
I have run the TCPDUMP. - hoolio
Cirrostratus
If you want help diagnosing the issue using tcpdumps, you could contact F5 support. They'll want to see binary formatted traces (you can get this by adding -w /path/to/output.file.dmp to the tcpdump command before the host filter): - adamp_1519
Nimbostratus
I have a similar problem, and i've added the "Front-End-Https: On" header, and i can see it go through to the back end exchange 2007 server, however OWA still 302-redirects to the http service.
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