SSL_CIPHER_USEKEYSIZE not accessable

SSL_CIPHER_USEKEYSIZE not accessable

am 27.05.2008 21:58:25 von gam3-modperl

I can't acccess SSL_CIPHER_USEKEYSIZE from Mod_perl 2
or at least I can't figure out how to do it.

I have tried:

$r->subprocess_env();

$r->print($r->subprocess_env('SSL_CIPHER_USEKEYSIZE'));

Allen Morris

Re: SSL_CIPHER_USEKEYSIZE not accessable

am 28.05.2008 02:07:52 von Tom Donovan

G. Allen Morris III wrote:
> I can't acccess SSL_CIPHER_USEKEYSIZE from Mod_perl 2
> or at least I can't figure out how to do it.
>
> I have tried:
>
> $r->subprocess_env();
>
> $r->print($r->subprocess_env('SSL_CIPHER_USEKEYSIZE'));
>
> Allen Morris
>
Make sure your Apache config passes the SSL StdEnvVars to Perl programs.

http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#ssloptions

For Apache 2.2, this is usually set in /conf/extra/httpd-ssl.conf like this:


SSLOptions +StdEnvVars


Note that "pl" is added to the list of file extensions which get StdEnvVars passed to them.

-tom-