Forum Discussion
gdoyle
Cirrostratus
May 19, 2016Custom Response Upon Denial with iRule.
We created an irule which denies a user access if they are not using TLS 1.1 or greater (so TLS1.0 or no TLS). We would like a custom message, and although it is in the iRule, that is not the message...
cjunior
Nacreous
May 19, 2016Hi,
I understood that you need to send a response in L7. In my humble opinion, you did a good job. So, if you aren't receiving the message, your connection may be being dropped before being established. Could you check your ciphers in SSL client profile? Anyway, let me do it a little diferent. Respectfully,when HTTP_REQUEST {
if { not ([SSL::cipher version] starts_with "TLSv1.") } {
HTTP::respond 200 content {
Maintenance page
**********CUSTOM DENIAL MESSAGE HERE.**********
} Content-Type text/html Connection close
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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