Forum Discussion
Sonny
Cirrus
May 09, 2008HTTPS Redirects
Sorry if this has already been posted. I was trying to come up with an iRule that would redirect users who do NOT have TLS checked on their browsers to a specific page on the same server or a different server. Without TLS checked, the user will get a "page cannot be displayed". We don't want them to see this... instead we want them to make the necessary setting change. So this rule would key off the failed TLS connections. I know there's a lot of iRule pros out there so chime in... I just don't use it that much...
- hoolio
Cirrostratus
Hi,
There is a Codeshare example which checks the cipher bit level and sends a redirect if it's below 128:
http://devcentral.f5.com/wiki/iRules.RedirectOnWeakEncryption.ashx
You could tweak that to get the cipher name or version:
http://devcentral.f5.com/wiki/iRules.ssl__cipher.ashx
Aaron
- Sonny
Cirrus
Thanks Hoolio! This might work. - hoolio
Cirrostratus
If you end up using a variant of the current codeshare example, could you add it to that codeshare page? - Sonny
Cirrus
Yeah, we used crafted it to 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