openssl-0.9.8-beta5 solaris64-sparcv9-cc make test fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

openssl-0.9.8-beta5 solaris64-sparcv9-cc make test fails

Jostein Tveit
Solaris /dev/random patch is installed.

$ uname -a
SunOS bid-dev22 5.8 Generic_117350-08 sun4u sparc SUNW,Sun-Fire-V240

$ cc -V
cc: Sun C 5.7 2005/01/07

$ ./Configure solaris64-sparcv9-cc shared

$ make test
Generate and certify a test certificate

make a certificate request using 'req'
Generating a 512 bit RSA private key
writing new private key to ''
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
Country Name (2 letter code) [AU]:AU
Organization Name (eg, company) []:Dodgy Brothers
Common Name (eg, YOUR name) []:Dodgy CA

convert the certificate request into a self signed certificate using 'x509'
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).
Signature ok
subject=3D/C=3DAU/O=3DDodgy Brothers/CN=3DDodgy CA
Getting Private key
23545:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:503:You need to read the OpenSSL FAQ,
23545:error:04088003:rsa routines:RSA_setup_blinding:BN lib:rsa_lib.c:407:
23545:error:04066044:rsa routines:RSA_EAY_PRIVATE_ENCRYPT:internal error:rsa_eay.c:364:
23545:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib:a_sign.c:276:
error using 'x509' to self sign a certificate request
make[1]: *** [test_ss] Error 1
make[1]: Leaving directory `/opt/home/jtv/apps/openssl-0.9.8-beta5/test'
make: *** [tests] Error 2

Jostein Tveit <[hidden email]>
OpenSSL Project                       
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]