Crossposted to both midgard and and modssl-users.
Folks, check out
https://intranet.nstc.com/ssltest.php3
(Your browser will give you a warning, because I'm using a self-
signed server certificate. Go ahead and tell it to load the page
anyhow.)
The line at the top should say "You are using x-bit encryption"
where x is the SSL key size.
But it's not doing that - there are a whole bunch of environment
variables that should be passed from mod_ssl to my php script that
aren't. For example, my script is trying to read SSL_CIPHER_USEKEYSIZE
to find the value of X. That variable is not defined.
They were, before I installed mod_midgard. But I've also upgraded
to apache 1.3.12, openssl 0.9.5 and mod_ssl 2.6.3 - the upgrade was
made less than a week ago.
Non-SSL Environment variables make it to my script ok, as documented
by my use of DOCUMENT_ROOT on the second line.
Source of ssltest.php3:
<?
echo "\n";
$temp = $SSL_CIPHER_USEKEYSIZE . "-bit"; // does not work
echo "You are using $temp encryption.<br>\n";
echo "Doc root is $DOCUMENT_ROOT.<BR>\n"; // works
phpinfo();
?>
Help!
--
North Shore Technologies, Cleveland, OH
http://NorthShoreTechnologies.net
Steve Sobol, BOFH - President, Chief Website Architect and Janitor
Spammers and Net-abusers: Don't bother asking me for service. See
http://NorthShoreTechnologies.net/go/policy/ for more information.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]