Re: PHP authenticating user over SSL
| From: | Manuel Lemos | Date: | Sat, 24 May 2008 03:31:43 +0000 |
| Subject: | Re: PHP authenticating user over SSL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274655@lists.php.net to get a copy of this message | ||
Hello,
on 05/23/2008 05:06 PM Gunnar Vestergaard said the following:
> Where do I post feature requests for PHP?
>
> I need some functions in PHP to let a user log on to a server with his
> SSL client certificate. I mean, when a user has his own SSL client
> certificate, then a server should be able to log the user in without
> needing user name and password. Wouldn't that be a great improvement in
> PHP? Is it possible at all?
That is not quite the role of PHP. Apache does the necessary SSL client
verification when you use the directive SSLVerifyClient . Here you may
find more details on what variables to check when the user provides a
valid client certificate.
http://wiki.egee-see.org/index.php/Simple_Apache-SSL_integration_and_DN-based_authentication
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/