Forum Discussion
handle ssl and non ssl on the same virtual server and port
Hi!
We have new(ssl) and legacy(non ssl) client applications, both need to connect to the same virtual server and the same 443 port.
Backend server uses plain http.
So we need LTM to accept both ssl / non ssl connections from clients on the same 443 port of the same virtual server and forward them to the backend application.
We tried irules with no success.
Is there any chance we can manage this situation on the LTM side?
We have BIG-IP 14.1.2.3 Build 0.0.5 Point Release 3
- xuwenCumulonimbus
Local Traffic ›› Profiles : SSL : Client >>Configuration(Advanced)>>Non-SSL Connections(enable),
use iRules to traffic non ssl to redirect https:
when CLIENTSSL_CLIENTHELLO {
set need_ssl 1
}
when HTTP_REQUEST {
if { ![info exists need_ssl] } {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
- Fallout1984Cirrocumulus
How were the irules configured? Basically, what were they being told to do?
If the incoming traffic's port 80 (non-SSL) and it can't be redirected to 443, then a port 80 vserver will be needed. So, you're going to end up with two vservers; one using port 80, one using port 443.
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