http://qs1969.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.

Replies are listed 'Best First'.
Re: mod_perl / mod_ssl variable problem.
by Anonymous Monk on May 28, 2008 at 01:49 UTC
    are you sure you're running under ssl?