At 4:42 PM -0700 7/11/00, Yewen Tang wrote:
>I have installed OpenSSL 0.9.5a and Crypto::SSLeay 0.16. When I run
>net_ssl_test or other scripts
>to test, they failed to connect to HTTPS servers.
>
>The found those test scripts have established TCP connection to the
>HTTPS server, but failed to continue SSL conversations
>with servers.
>
>Further investigation shows that error occurs when PRNG seeding.I
>guess that OpenSSL API may not be well configured for PRNG seeding.
>Or Crypt::SSLeay haven't be configured OK to use OpenSSL API properly.
>
>I use EGD as a source of random number on my machine. I have made
>openssl command line work with it. How do I make OpenSSL API and
>Crypt::SSLeay work?
I haven't tried with Crypt::SSLeay, but with other ssl software I've
fixed up, I've needed to add a RAND_egd("/path/to/egd/socket") at the
appropriate place in the initialization. Some software, like mutt
with imap turned on, now correctly does it, so you can look in the
source for mutt to see how it's done. There's also an FAQ entry at
http://www.openssl.org/.
>
>Thanks for anybody getting me out here.
>
>Yewen
>White PJ, INC.
>
>
--
--
Paul Schinder
[EMAIL PROTECTED]