Forum Discussion

Robert_Decker_2's avatar
Robert_Decker_2
Icon for Nimbostratus rankNimbostratus
Feb 01, 2006

Authenticate customer using SSL client certificate or LDAP

I was wondering if anyone could show me how to perform multiple methods of authentication within an Irule. I would like to use ssl authentication against a client certificate as the first method, however everyone might not have the required client cert. I would like to know if it is possible to do the following:

 

 

1.check incoming request for ssl client certificate

 

2.if certificate is present: validate user against trusted certificates and ocsp

 

3.add client cert information to http headers if ssl client authentication is successful or move to LDAP authentication if not successful

 

4.if no certificate is present or certificate is invalid: use LDAP username and password

 

5.add LDAP username and password (other client information that can be pulled from LDAP) into http headers

 

6.send client to a redirect page if both ssl and LDAP authentication fail

 

 

Thank you very much,

 

Rob

14 Replies