Michael Bartlett wrote:

> Hi All.

Hi Michael.

> I need to do login authentication using information stored in a class 2
> certificate. Basically the directory of the web site (apache) requires a
>
> Help would be much appreciated.

I've never been using client side certs myself - but in the manual page
something (end of chapter three: Reference -> Additional features ->
Environment Variables), it says that the following environment variables are
set for cgi-scripts:

SSL_SERVER_S_DN_xxx, where xxx = [C|SP|L|O|OU|CN|Email]

things is, what can you use that for, you're using PHP - well, if these
environment variables do not get transferred to your PHP session, then you can
always run a few PHP-scripts as cgi-scripts, just go:

#!/usr/local/bin/php
<html>
<body>
<?php
    phpinfo();
?>
</body>
</html

and you're off ...

lousy help, I know...

Regards Jakob

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

Reply via email to