You should see site: www.onsight.com/faq/stunnel/stunnel-faq-8.html
May be there you will find solution. 



On Thu, 1 Jun 2000, Jorge Olmos wrote:

> Hi all,
> I´m new to ssl, and I´m trying to make s_server and s_client work
> When I run them, I get.
> 
> $ openssl s_server
> unable to load 'random state'
> This means that the random number generator has not been seeded
> with much random data.
> Consider setting the RANDFILE environment variable to point at a file that
> 'random' data can be kept in (the file will be overwritten).
> Using default temp DH parameters
> ACCEPT
> ERROR
> shutting down SSL
> CONNECTION CLOSED
> ACCEPT
> 
> 
> $ openssl s_client
> unable to load 'random state'
> This means that the random number generator has not been seeded
> with much random data.
> Consider setting the RANDFILE environment variable to point at a file that
> 'random' data can be kept in (the file will be overwritten).
> CONNECTED(00000003)
> depth=0 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 bit)
> verify error:num=20:unable to get local issuer certificate
> verify return:1
> depth=0 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 bit)
> verify error:num=27:certificate not trusted
> verify return:1
> depth=0 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 bit)
> verify error:num=21:unable to verify the first certificate
> verify return:1
> 29287:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:m
> d_rand.c:538:
> 
> 
> I have downloaded egd0.8 and installed it. It's running and writing to file
> ~/entropy, and I have set and exported RANDFILE=$HOME/entropy. One of its apps
> reports that there are more than 2000 random bits in the file, so I think it works
> fine, (although looking at the code of s_client I think It´s not being used.)
> I use downloaded openssl-0.9.5a, installed it with options
> > ./config --prefix=/export/home/users/jjof/usr/local/openssl threads
> My machine is a sun ultra5 with SunOs 5.6
> What am I doing wrong?
> 
> --
> Jorge Olmos Forés
> E-mail: [EMAIL PROTECTED]
> 
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 

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

Reply via email to