Forum Discussion
Willda71_98408
Sep 28, 2011Nimbostratus
SSL/NON-SSL
Hi there,
i originally posted this in the security group but a member said Id be better off posting it here. He said i could achieve what...
Michael_Yates
Sep 28, 2011Nimbostratus
After doing some additional tinkering, you might want to ignore the SSL Profile and handle everything in an iRule (it is much easier to manage what is happening.
Here is a beginning example:
when HTTP_REQUEST {
log local0. "Beginning HTTP Request Event."
SSL::cert mode request
if { [SSL::cert count] == 0 } {
log local0. "SSL Certificate Count equals Zero. Redirecting."
HTTP::redirect "http://www.google.com"
}
}
You will still need to handle the processing for which SSL Certificates you will consider valid and how you want to validate them, but again, it seems much easier to work with that information in an iRule.
Hope this helps.
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