LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   apache and client certificate (https://www.linuxquestions.org/questions/linux-server-73/apache-and-client-certificate-937168/)

Felipe 03-29-2012 06:08 PM

apache and client certificate
 
Hallo:

Apache2.2.22/tomcat6 on CentOS 5.5.

I'm trying to authenticate users using client certificates and send the username to jsp pages.

I can send the field of the certificate to Tomcat with:
Quote:

SSLUserName SSL_CLIENT_S_DN_CN
and can read the field in the jsp page.

My problem is that SSL_CLIENT_S_DN_CN doesn't have the username. It has an information which can be used to ask an LDAP to get the username.

My question:
- How can I take the field of the certificate and ask an ldap to get the username to send to tomcat?
- Does any know if is there a good forum for apache? (I've to say I always use linuxquestions, but is possible that for very specific themes...)

Thanks

Thanks


All times are GMT -5. The time now is 01:43 AM.