SSL Client in PHP

From: Date: Tue, 09 Sep 2003 05:15:05 +0000
Subject: SSL Client in PHP
Groups: php.general 
Request: Send a blank email to php-general+get-162036@lists.php.net to get a copy of this message
Hi, I found the following e-mail in a PHP Development Archive, and I have exactly the same questions... ufnortunately there was no answer in the archive, only the pointer to e-mail this list. If you can help me, it would be greatly appreciated! Alvar
To: <mailto:php-dev@DOMAIN.HIDDEN>php-dev at lists dot php dot net From: "LUNAR" <<mailto:office@DOMAIN.HIDDEN>office at lunar dot com dot pl> Date: Thu, 28 Mar 2002 10:58:14 +0100 list-help: <<mailto:php-dev-help@lists.php.net>mailto:php-dev-help@lists.php.net> list-post: <<mailto:php-dev@lists.php.net>mailto:php-dev@lists.php.net> list-unsubscribe: <<mailto:php-dev-unsubscribe@lists.php.net>mailto:php-dev-unsubscribe@lists.php.net> Hi,
    Can anyone tell me how can I check the following values in PHP? The
following is a PERL transcription: unless ( $ENV{'SSL_CLIENT_VERIFY'} and ($ENV{'SSL_CLIENT_VERIFY'} eq 'SUCCESS') and ($ENV{'SSL_CLIENT_S_DN_O'} eq 'TestCompany')) { and ($ENV{'SSL_CLIENT_S_DN_L'} eq 'WARSAW') and ($ENV{'SSL_CLIENT_S_DN_CN'} eq 'abc.def..pl') and ($ENV{'SSL_CLIENT_S_DN_C'} eq 'PL') and ($ENV{'SSL_CLIENT_I_DN_O'} eq 'Thawte Consulting cc')) { and ($ENV{'SSL_CLIENT_I_DN_CN'} eq 'Thawte Server CA')) { and ($ENV{'SSL_CLIENT_I_DN_C'} eq 'ZA') exit; If I chjeck the $_GLOBALS variable array in PHP I only get the values of SSL_SERVER. $ENV does not have this values. Thanks, Artur Zas


« previous php.general (#162036) next »