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:
<FilesMatch "\.(cgi|shtml|phtml|php|pl)$">
SSLOptions +StdEnvVars
</FilesMatch>
Note that "pl" is added to the list of file extensions which get StdEnvVars
passed to them.
-tom-