Forum Discussion
Rab_101866
Nimbostratus
May 20, 2010Server ssl profile Authenticate Name
Hi,
I was wondering if it is possible to modify the Authenticate Name for an SSL server profile in an i rule depending on the pool selected?
when SERVER_CONNECTED {
if { [LB::server pool] contains "HCI3" } {
SSL::profile PROFILE_SERVERSSL
set Authenticate Name
}
else {
SSL::profile PROFILE_SERVERSSL
set Authenticate Name
}
}
2 Replies
- hoolio
Cirrostratus
Hi Rab,
I don't think you can set the properties for the server SSL profile. But I wonder if you could check the server name in an iRule using the SERVERSSL_HANDSHAKE event with SSL::cert to get the server's SSL cert and X509::subject to check the cert's subject:
http://devcentral.f5.com/wiki/default.aspx/iRules/SERVERSSL_HANDSHAKE
http://devcentral.f5.com/wiki/default.aspx/iRules/ssl__cert
http://devcentral.f5.com/wiki/default.aspx/iRules/X509__subject
If you try this, could you post back with the results?
Thanks, Aaron - Colin_Walker_12Historic F5 AccountYeah, you wouldn't be able to modify the profile via the iRule. Creating custom logic to perform the checks you want might work, though. What is it you're trying to accomplish as a whole?
Colin
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
