perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Oberlitner <tana...@cyberport.net>
Subject Net::SSLeay fails in mod_perl 1.29 - works from the shell
Date Mon, 29 Nov 2004 06:19:41 GMT
Hi,

The following code:

  use Net::SSLeay qw(post_https make_form);
  my ($page, $response, %reply_headers) = post_https('ssl.aspidon.net', 
443, '/test.html', '', make_form(var1 => 'one', var2 => 'two' ));
  print "$response\n";

When executed in mod_perl yields this error:

  response : HTTP/1.0 900 NET OR SSL ERROR

  SSL_connect 8810: 1 - error:140D308A:SSL 
routines:TLS1_SETUP_KEY_BLOCK:cipher or hash unavailable

When executed from a shell it works.

I found an identical problem statement in the mod_perl archives but no 
solution noted.
A few things I have tried:

 o Modified nobody's %ENV with the successful shell user's %ENV
 o Compiled from source: mod_perl-1.29, apache_1.3.33, openssl-0.9.7e, 
Net_SSLeay.pm-1.25
 o Tested on x86 Linux and sparc Linux platforms with similar 
configurations and identical results

Any pointers or suggestions?

Thanks,

David

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message