Forum Discussion
Kim_Busho
Nimbostratus
Feb 12, 2008SSL/Tomcat Security Alert
We have a website that is hosted on Tomcat (v5.5) web servers and uses an SSL certificate configured on our (v9.1.2) F5's.
There is an iRule in place for the http vs that redirects all requests to https:
Redirects all to HTTPS keeps URI intact
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
After a user enters login information for the site and attempts to login, this pop-up message appears:
Security Alert
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 nonsecure site. Do you wish to continue?
If you select Yes to continue you're redirected to the correct page using https.
We don't see this message with our IIS sites. How can I get rid of this message?
- Jeff_C_42204
Nimbostratus
Have you verified that the certificate is completely valid including chaining as defined in your ssl profile? - Kim_Busho
Nimbostratus
I have checked these items and everything looks good (including the chained intermediate certificate). The pop-up only occurs during the login process and the cert seems to otherwise be fine. Thanks! - kykong_107132
Nimbostratus
Hi Kim, - dennypayne
Employee
To further elaborate on what KY is saying, most likely what is happening is that your Tomcat server is sending back http redirects to the client rather than https. Because you are decrypting SSL at the BIG-IP, the Tomcat server is running on port 80 and doesn't realize that it needs to send redirects as https instead of http.
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