Forum Discussion
Walker_111918
Nimbostratus
Apr 24, 2012Change SSL::profile depending on user-agent
Is it possible to change the SSL::profile depending on user-agent? I tried something like this: fingerprint_sha hase 3 states:
0: not set
1: sha1
2: sha256
set fing...
Joel_Moses
Nimbostratus
May 04, 2012Here's an idea.
Windows XP doesn't present the SSL SNI field when setting up an SSL/TLS session. It's not a totally precise way to identify Windows XP (it will also get other browsers that don't send an SNI field), but it would let you switch the profile after the initial client SSL request -- which is absolutely possible. I wrote an iRule that switches pools and SSL profiles based on the SNI hostname:
https://devcentral.f5.com/wiki/iRules.TLS-ServerNameIndication.ashx
A modification to this rule could replace the default sha256-cert containing profile with the sha1 profile for browsers that don't seem to present SNI. That would include all XP users but present the "more secure" default cert for Vista/Win7. I'll see if I can find some time to try this.
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