Forum Discussion
Shazee
Aug 18, 2021Altocumulus
Multiple Irule association based on SNI
Hi All, I have a query Think of a scenario where SNI is configured ( to have ABC.com and DEF.com serving from the same Virtual server). We will call the Virtual server as SNI-VS. ABC...
xuwen
Aug 19, 2021Cumulonimbus
use this code try it,here is the link about the irules for SSL::sni, https://clouddocs.f5.com/api/irules/SSL__sni.html
when HTTP_REQUEST {
if { [SSL::cert count] > 0 && [SSL::verify_result] == 0} {
if { [SSL::sni name] equals "ABC.com" } {
HTTP::header insert SSLClientCertSN [X509::serial_number [SSL::cert 0]]
}
}
}
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