Forum Discussion
ashbeyk_127079
Nimbostratus
Sep 22, 2005Conditional client cert and LDAP auth
I am trying to create a reverse proxy using iRules. This requires that certain URLs require client certs, others dont and that certain URLs require LDAP auth, others dont.
I am checking the passed URL in an irule attached to an LDAP auth profile configuration (HTTP_REQUEST event) and forcing an SSL::renegotiate if a cert is required, however I can't then get this same rule to send back a 401 message to require LDAP auth. The only way I can see is to set a variable ie "set need_ldap 1" then check this in the HTTP_RESPONSE event. This works but doesnt seem very efficient. Any thoughts?
- unRuleY_95363Historic F5 AccountI'm not sure I fully understand the sequence of steps you are trying to force, but it does sound like you could force a response when you know you want LDAP. Try "HTTP::respond 401" in the HTTP_REQUEST event.
- ashbeyk_127079
Nimbostratus
This is part of my code: - ashbeyk_127079
Nimbostratus
The sequence of events is: - unRuleY_95363Historic F5 AccountThis does seem broken to me. Can you open a support case so we can collect the necessary information to try to reproduce it here.
- ashbeyk_127079
Nimbostratus
Thanks, my F5 pre-sales contact is pursuing this for me.
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