Forum Discussion
Internet_Suppo1
Nimbostratus
Sep 01, 2017How to use two ssl profiles depending on connecting address
Morning All,
I'm trying to edit the iapp template.
What I would like to do is implement certificate pinning for all clients except from certain network ranges.
Eg for connections from
1...
Stanislas_Piro2
Cumulonimbus
Sep 01, 2017Hi,
you can create 3 VS:
- one routing VS without any SSL and HTTP profile but the next irule
- one VS (same destination address or another one, doesn't matter, never used) with VLAN enabled none. enable first SSL profile
- one VS (same destination address or another one, doesn't matter, never used) with VLAN enabled none. enable second SSL profile
VS1 irule:
when CLIENT_ACCEPTED {
if {[IP::addr [IP::remote_addr]/24 equals 134.170.98.0]} {
virtual vs2
} elseif {[IP::addr [IP::remote_addr]/24 equals 157.56.199.0]} {
virtual vs2
} else {virtual vs3}
}
if the source IP is too long, you can use a data group list.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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