05-26-2011 01:44 PM
I am trying to redirect all http requests to https for my Exchange 2010 VIP. The ADX is configured per the Brocade document Deploying the Brocade ServerIron ADX with Microsoft Exchange Server 2010. Relevant configuration is shown below.
I have tried to add the redirect to the existing csw-policy using match catchall redirect * * ssl and default match redirect * * ssl and it just does not seem to do anything at all.
I've also tried to create another policy with the redirect code in it, but I am unable to bind it to the http port of the virtual server because the other policy is already bound (i guess there's a limit to once csw-policy per port?)
Any help would be greatly appreciated!
csw-rule "audi" url prefix "/AUTODISCOVER" case-insensitive
05-31-2011 08:36 PM
Change "encrypted.google.com" to your fqdn or ip address. And copy & paste followings.
06-01-2011 06:23 AM
That mostly did the trick, thanks!
For my specific purpose I was able to just use a wildcards in the csw-policy:
default redirect "*" "*" ssl
Removed the old csw-policy binding from the http port and bound the new one:
server virtual vs1
no port http csw
no port http csw-policy "ex2010a"
port http csw-policy "https-redirect"
port http csw
Here's the kicker - I didn't have my http port bound to any real servers before, so any http requests to the VS were just being dropped. I had to configure the bindings:
bind http rs1 http rs2 http rs3 http
Now the virtual server actually listens on port http, so it can intercept the http requests and and redirect them.