Forum Discussion
Redirect HTTPS request to Second HTTPS server, before SSL
As the previous answer explains, the TLS handshake needs to be completed before the https virtual server can look at the http request.
Do 'server.server1.com' and 'server.server2.com' resolve to the same IP address?
One thing you could do is to replace the certificate used on the https virtual server where you want to do the redirects on, to include both 'server.server1.com' and 'server.server2.com'. The handshake would then complete successfully and then you could do the http redirect.
Otherwise an iRule based on the http_request event won't work without security warning errors on the browsers.
Recent Discussions
Related Content
* 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
