http://qs321.pair.com?node_id=688744

gam3 has asked for the wisdom of the Perl Monks concerning the following question:

I would like to use SSL_CIPHER_ALGKEYSIZE and other openssl data from mod_perl, but I can't figure out how to access this data.

Using mod_cgi these show up in the environment, but under ModPerl::PerlRun these are not exposed. Also $r->subprocess_env() does not make these environment variables available.

Does anyone know how I can get access to the mod_ssl information.

NOTE: I have found Apache2::ModSSL, but can't get it to work either.

UPDATE: And the answer is:

SSLOptions +StdEnvVars
-- gam3
A picture is worth a thousand words, but takes 200K.