I'm trying to use the serv.cpp and the cli.cpp sample programs in
/openssl-0.9.6a/demos/ssl/ and am having a little difficulty.  First of all
I'm running these scripts on a Solaris 7 box.  Now I realize the seed
issues, so I also installed egd (a.k.a. entropy) and was able to manually
generate the server certificate and key files.

Here's my problem:  When I attempt to connect the client to the server, I
get the following error: "27114:error:24064064:random number
generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:474"

Now this was the same error I was getting with the manual server keys until
I installed entropy and changed the rand lines in openssl.cnf.  Does anyone
know what I need to change to get the client program (cli.cpp) to use
entropy instead of the default rand program?  I have already tried to change
the header file e_os.h to define DEVRANDOM, but I still get the same result.

Any help would greatly help the migraine I'm experiencing!

Philip J. Zaleski
Software Engineer
ITT Industries - Advanced Engineering & Sciences
775 Daedalian Drive
Rome, NY 13441
Phone: (315) 330-2560
DSN: 587-2560
Email: [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to