On Wed, 4 Apr 2001, Paul wrote:

> Though I feel rather foolish, the fact remains that I can't seem to
> find my SSL environment variables.
> 
> httpd.conf has
> 
> <Directory />
>    SSLVerifyClient   require
>    SSLOptions        +StdEnvVars 
> # ...
> </Directory>
> 
> Exactly when and where are they set? For example, SSL_CLIENT_S_DN. Once
> set, shouldn't I be able to just say $ENV{SSL_CLIENT_S_DN}? 
> 
> My PerlPostReadRequestHandler can't seem to see them, but I figure
> that's just because they haven't been set yet. I can't find when
> they're set anywhere in the docs. (I probably haven't looked in the
> right place, but it's not for lack of trying. =o)

mod_ssl doesn't setup its variables until the fixup stage, you need to run
a subrequest to get at them eariler.  the auth chapter at www.modperl.com
has a specific example.


Reply via email to