Forum Discussion
Karthick1
Cirrus
Aug 21, 2020Irule to match SNI
I have configured one vs with multiple ssl profile and one ssl profile marked as default SNI, I need to write irule to match SNI ( during client hello ) only for assigned ssl profile rest it should...
Aug 21, 2020
Hi Karthick,
when HTTP_REQUEST {
switch [HTTP::host] {
"abc.com" -
"www.abc.com" -
"ccc.com" -
"www.ccc.com" { }
default { reject }
}
}Karthick1
Cirrus
Aug 22, 2020Dear Eaa,
Thanks for your comments, yes the same irule which you have shared i have done using class match.
but i need to match using SNI during client Hello. I tried using this cmd "SSL::sni name " but it is not working.
- Aug 23, 2020
Hi Karthick,
Can you try with [SSL:extension sni name] ?
when CLIENTSSL_CLIENTHELLO { if { [SSL:extension sni name] ends_with "abc.com" } { # .. } }
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
