Forum Discussion
meena_60183
Nimbostratus
Sep 21, 2008https connections become http - how to secure it?
I have SSL termination configured for a virtual server. The backend connection to the server is a http (clear text) connection.
In my case, the server is perforimg an http 300-series redirect to another http URL. This redirect is causing the client to perform an http request even though the client performed an https request initially. I want all client connections to be SSL.
In Cisco world, I configure an URL rewrite so that all http connections will be rewritten as https connections.
I do not know how to this on F5 and please let me know how I can secure these redirect URLs?
thanks,
Meena
- meena_60183
Nimbostratus
I think I found the answer in the following link - meena_60183
Nimbostratus
When I examined the packet capture closely, I see http POST messages with clear text that contains the username and password for a login. - hoolio
Cirrostratus
Hi Meena, - meena_60183
Nimbostratus
OK. That was very useful to use LiveHTTPHeaders. I found out the HTTP references are made in the payload. Even though the response from F5 was a 302 redirect ( I enabled http to https redirection on the F5), it was too late for the POST messages since the username and password is already sent in clear text. - hoolio
Cirrostratus
You can configure the STREAM::expression to replace every reference to http:// with https://, or you can do a more specific search/replace using a regex. If neither of those two options work for you, you can set a stream expression to match all http:// references and then add a test in the STREAM_MATCHED event to determine whether to replace that particular match with https://. There are examples of each case on the stream expressio wiki page. - perfmon_109693
Nimbostratus
Besides trying to have the BigIP deal with it entirely on its own you need to be aware of the applications behind it. These applications need to know they're sitting in a reverse proxy/ssl proxy configuration, so that they can return back the correct URLs when redirecting. For example, I recently went through this with SiteMinder, Apache and WebSphere Application Server (WAS).
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