I'm using both this nginx-auth-ldap and nginx with server/client SSL support (http://nategood.com/client-side-certificate-authentication-in-ngi). Both are working individually, however it seems the LDAP plugin insists on getting the credentials using HTTP Basic Access Auth. Is there a way to avoid this and pass the CN from the client cert instead? More simply, is there a way to hardcode the username/password in the nginx config for the ldap lookup and avoid requiring Basic Access Auth?
Hello.
I'm using both this nginx-auth-ldap and nginx with server/client SSL support (http://nategood.com/client-side-certificate-authentication-in-ngi). Both are working individually, however it seems the LDAP plugin insists on getting the credentials using HTTP Basic Access Auth. Is there a way to avoid this and pass the CN from the client cert instead? More simply, is there a way to hardcode the username/password in the nginx config for the ldap lookup and avoid requiring Basic Access Auth?
Thanks.