how to force https using ACE module?

Unanswered Question
Jan 26th, 2010


i have one requirment from the customer to force https for web site sections that require authentication

all web site sections that require authentication end with login.aspx

for example:

how to force redirection from http to https for any url end with login.aspx

i don't want any user to authenticate using http.

thanks in advance for your help

best regards,

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
bshellrude Thu, 01/28/2010 - 09:55

Something like:

rserver redirect HTTP-to-HTTPS
  webhost-redirection https://%h%p 301

serverfarm redirect HTTP-to-HTTPS
  rserver HTTP-to-HTTPS

class-map type http loadbalance match-any L7CLASS-REDIRECT-HTTP-to-HTTPS
   match http url .*/login.aspx

policy-map type loadbalance first-match L7POLICY-REDIRECT-HTTP-to-HTTPS
    serverfarm HTTP-to-HTTPS

policy-map multi-match L3IngressPolicy

    loadbalance vip inservice
    loadbalance policy L7POLICY-REDIRECT-HTTP-to-HTTPS
    loadbalance vip icmp-reply
    loadbalance vip advertise active

and then of course having a proper HTTPS policy corresponding with the redirect...

That's how we've got things running anyways...

bshellrude Thu, 01/28/2010 - 10:01

Oh yeah.. and of course

show service detail

Looking for current connections and dropped connections - being your best friend for troubleshooting

Also note, that the capture feature of ACE can be useful too


This Discussion