Forum Discussion
Alexey_Beketov
Nov 11, 2021Nimbostratus
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 s...
xuwen
Nov 12, 2021Cumulonimbus
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]"
}
}
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