On 2/7/03 8:57 am, Keirnan, Paul <[EMAIL PROTECTED]> wrote:

> I am attempting to get Perl::LDAP running on a (DEC/Compaq/HP) Alpha
> running Tru64 V5.1
> 
> I am having some trouble with the pre-requisites. Hopefully someone can
> point me in the right direction.

Unless you *require* LDAPS or LDAPv3 start_tls, then you don't *need* all
the Net_SSLeay or IO::Socket::SSL stuff.. Given that your problems below
seem mostly related to Net_SSLeay, it might be useful to ignore it for now.

> [EMAIL PROTECTED]:> ping www.bacus.pt
> PING mail.bacus.pt (199.4.110.40): 56 data bytes
> 64 bytes from 199.4.110.40: icmp_seq=0 ttl=234 time=217 ms
> 64 bytes from 199.4.110.40: icmp_seq=1 ttl=234 time=214 ms

Well it tries to connect to TCP port 443 (HTTPS), but that seems to work
too:

    % openssl s_client -connect www.bacus.pt:443

> Use of uninitialized value in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/Net/SSLeay.pm line
> 460.
> SSL connect attempt failed
> SSL Error String:  72507: 1 - error:24064064:random number
> generator:SSLEAY_RAND_BYTES:PRNG not seeded

That looks like Net_SSLeay has not been configured correctly for your
platform. It tries to get random numbers from somewhere external on startup,
and does different things on different platforms. Perhaps that doesn't work
on OSF or on a version of perl built in 64-bit mode.

> at t/compatibility.t line 28
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/lib/perl5/site_perl/5.8.0/alpha-dec_osf/Net/SSLeay.pm line
> 460.
> SSL accept failed
> SSL Error String:  72506: 1 - error:1408F10B:SSL
> routines:SSL3_GET_RECORD:wrong version number

That looks very bad, but it might just be the program connecting to a
non-SSL port. Or it might be a problem with 64-bit code in Net_SSLeay.

I think you should try and get Net_SSLeay working correctly (if you really
need it). Perhaps the Net_SSLeay authors can help here - they might know if
their code is 64-bit clean or not.

Cheers,

Chris

Reply via email to