Forum Discussion
Abdul_Ghani_Eli
Nimbostratus
Dec 13, 2006Https redirection
Hi
Can someone advise me on an issue i have regarding about Https redirection. Currently i'm using the below iRules to do it
}
rule http_redirect {
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
But when the user access to the intended site it will pop up saying you are about to be redirected to a connection that is not secure"
Is there a way on how can i not hv the notification pop up not appear?
Thks
- dennypayne
Employee
It sounds like your initial redirect is working but then the server itself is sending additional redirects back to the client using http:// instead of https://. You can either modify your application to send back the correct https:// redirects (preferred), or you can try using the Rewrite Redirects function of the http profiles (Click here). - Nathan_McKay_67
Nimbostratus
One thing to keep in mind is that your iRule will only redirect as long as the user agent (browser) supplies a HTTP host header. If not, the LTM will not return a valid redirect - the link will be more along the lines of "http:///[URI]". This probably isn't going to be a big deal most of the time, but it pays to be thorough. Here's what I did: - Abdul_Ghani_Eli
Nimbostratus
Thanks guys. Let me give it a shot. I was thinking that the problem lies on the browser (client) settings. - Abdul_Ghani_Eli
Nimbostratus
It's didn't work. I still do get the security alert pop up. The message is " You are about to be redirected to a connection that is not secure. the information you are sending to the current site might be retransmitted to a non secure site. Do you wish to continue?" - hoolio
Cirrostratus
You could try installing a browser plugin to log the web app's responses to see exactly what insecure content the client is requesting to cause the browser warning. If it's a redirect, the rewrite redirects option on the HTTP profile should prevent this. If it's an absolute reference to HTTP content, you would want to use a stream profile to rewrite the reference to HTTPS. - Mario_Eury_6049
Nimbostratus
you have to configure the SSL profile (client) under the VIP for that website. you can do this by either purchasing one, or using the system supplied one.
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