Hi All.

I need to do login authentication using information stored in a class 2
certificate. Basically the directory of the web site (apache) requires a
class 2 cert. The certs are Verisign Onsite certificates which have 3 custom
fields in them.

So what I need to do is probe the cert that is presented to the server using
PHP and take the uid from the cert and authenticate against a mysql database
and log the user on.

I've done this before using IIS and ASP *shudder* using source code that
looks like this :

<%
 response.write(Request.ClientCertificate("SUBJECTO") & "<br>")
 response.write(Request.ClientCertificate("SUBJECTOU"))
%>

But nobody on the php lists seems to know anything about certs, nor the
people on the apache lists.

Help would be much appreciated.

Regards

Mike Bartlett
Executive Producer
<eye2eye>

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to