I have a problem, with an https redirect on my ACE. Users are recieving a Certificate error if they browse to the link https://mysite.com, if they accept the error they are redirected to https://www.mysite.com. The cert is setup for the URL www.mysite.com, which is why the error is generated. I opened a TAC case they told me;
" I believe there is no way around it. This is because we decrypt the traffic first, then we do the redirect to https://www.mysite.com. So the user will see the certificate error before hitting the redirect. This has to do with the way or domain that was used to create the certificate."
Below is my config, let me know if you have any sugggestions.
Thanks,
Chris
class-map type http loadbalance match-all HOST1
2 match http header Host header-value "mysite.com"
rserver redirect REDIRECT
webhost-redirection https://www.mysite.com
inservice
serverfarm redirect REDIRECT
rserver REDIRECT
inservice
Now in the loadbalance policy add the class and serverfarm before the default class:
policy-map type loadbalance first-match CM-MYSITE-COM-VIP-443-l7slb
class HOST1
serverfarm REDIRECT
class class-default
sticky-serverfarm MYSITE-COM-COOKIE
action DELETE-CACHE