Forum Discussion
Marco_Bayarena_
Aug 22, 2012Altostratus
HTTPS Redirect to another HTTPS domain using same VS.
I have a VS configured with a Client SSL profile for domain www.newsite.com. We are trying to migrate off an old domain name called www.oldsite.com that was using the same VS. Originally the Client Profile was set to www.oldsite.com certificate. We changed the profile to use the SSL certificate for www.newsite.com.
I would like for when someone browses to https://www.oldsite.com to redirect to https://www.newsite.com.
When I create the iRule,
when HTTP_REQUEST {
if { [HTTP::host] equals "www.oldsite.com" }
HTTP::redirect "https://www.newsite.com"
}
}
It doesn't seem to trigger because the browser is looking for the certificate for www.oldsite.com. It works when it is an HTTP request to www.oldsite.com. It fails when it is HTTPS.
Is there a way to make this rule or some other method to trigger immediately before the browser checks the common name of the cert?
- natheCirrocumulusMarco
- nitassEmployeethis is some information about sni.
- Marco_Bayarena_AltostratusI had a feeling I would have to create another VS and assigned the old SSL cert to that. Thanks for the responses.
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