Forum Discussion
GavinW_29074
Nimbostratus
Jan 16, 2012Catch specific SSL errors/failures???
Hi there
One of the requirements that I've been given is to try and catch certain SSL errors and return a more friendly error page, rather than the browser default...
A couple of ...
hoolio
Cirrostratus
Jan 18, 2012That looks like a good start Gavin. Can you try moving the ifile command to RULE_INIT and use subst to force evaluation of the variable?
Retrieve the HTML
set static::error_page [subst [ifile get error_page_html]]
Also, can you try editing your post and put the iRule in [ code ] [/ code ] blocks (without the spaces in the code tags) to preserve the line indentations in the iRule?
Nitass:
since it does not return 0, bigip should respond with 403, shouldn't it?
I'm not sure what [SSL::verify_result] returns if no SSL cert is present in the request or for the SSL session, so I was thinking it would be better to check for that before using any SSL commands.
Thanks, Aaron
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
