[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing SSL environment variables?


Hadmut Danisch wrote:
> Hi,
> 
> another problem with porting an older authentication script:
> 
> The script used to fetch the certificate details set from the SSL module 
> under Apache1.3 with some code like
> 
>   $r->subprocess_env;   # initialize
>   $envs   = $r->subprocess_env;
>   $dn     = $r->subprocess_env('SSL_CLIENT_DN');
>   $cn     = $r->subprocess_env('SSL_CLIENT_CN');
> 
> 
> it worked. 
> 
> Now, under Apache2.2, I can access only a few variables like HTTP_... or
> SERVER_... variables, but not the varialbes set from the SSL module. 
> 
> (The SSL option StdEnvVars is set, the variables can be seen from PHP
> programs.)

see

  http://search.cpan.org/dist/Apache-SSLLookup/

HTH

--Geoff


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.