Forum Discussion
Joel_Moses
Nimbostratus
Mar 28, 2011TLS Server Name Indication iRule
http://devcentral.f5.com/wiki/default.aspx/iRules/TLS_ServerNameIndication.html
I posted the iRule above for discussion purposes. It decodes the TLS SNI extension field in an SSL/TLS negotiation and then attempts to dynamically switch the ClientSSL profile based on what it sees in this field. Essentially, this will allow you to use multiple certificates with a single VIP, dynamically switching them when the browser client changes the host it's requesting.
I'm intending to add support for changing pools as well -- that means that it's possible to support multiple certificates and multiple pools via a single VIP behind TLS encryption. But I thought I'd get this earlier proof of concept out there so people can see it and discuss it.
Joel
- Nat_Thirasuttakorn
Employee
I have not read the iRule in detail yet. But as a quick look, iRule looks really cool. - Joel_Moses
Nimbostratus
Thanks!
- hoolio
Cirrostratus
That's really cool that you figured this out Joel. Unfortunately, as you mention, no WinXP support for TLS SNI limits the value for most people. - Steve_Brown_882Historic F5 AccountThis is pretty cool Joel. Way more useful than the futurama rule from a few weeks ago. ;)
- Joel_Moses
Nimbostratus
Aaron: That's true; it's pretty useful for corporate customers who have good control over their browser installed base, though. And for people who don't care if they ever support an IE user. :> - Steve_Brown_882Historic F5 AccountThat is a very good point.
- L4L7_53191
Nimbostratus
Another clinic by Joel - nicely done. - The_Bhattman
Nimbostratus
Joel: Good work!!! This is very cool stuff....now if only I can get rid of Windows XP. ;-) - JRahm
Admin
Good luck on that Bhattman... :) - James_Quinby_46Historic F5 AccountVery nice stuff, this. I've idly wondered on and off whether or not berkley pcap-style expressions for getting into the TCP headers and such would be useful.
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