you should generate private key before generate certificate request file.
as below:
./bin/openssl genrsa -out xxx.pem .......

zeyi



                                                                                       
          
                    William C Klein                                                    
          
                    <William.Klein@valp        �ռ��ˣ�     "[EMAIL PROTECTED]"  
          
                    o.edu>                     <[EMAIL PROTECTED]>               
          
                    �����ˣ�                   ���ͣ�                                  
          
                    owner-openssl-dev@o        ���⣺  Problem creating certs          
          
                    penssl.org                                                         
          
                                                                                       
          
                                                                                       
          
                    00-08-09 02:13                                                     
          
                    ��� ��                                                          
          
                    openssl-dev                                                        
          
                                                                                       
          
                                                                                       
          



On Sol 2.7 with OpenSSL0.9.5a:

[ 58 ] > ../bin/openssl req -new > new.cert.csr
Using configuration from /usr/local/ssl/openssl.cnf
unable to load 'random state'
This means that the random number generator has not been seeded
with much random data.
Generating a 1024 bit RSA private key
14442:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_rand.c:538:
14442:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:

[ padfoot : root : /usr/local/ssl/certs ]
[ 59 ] > ls
new.cert.csr

[ padfoot : root : /usr/local/ssl/certs ]
[ 60 ] > ../bin/openssl rsa -in privkey.pem -out new.cert.key
privkey.pem: No such file or directory

[ padfoot : root : /usr/local/ssl/certs ]
[ 61 ] > ../bin/openssl x509 -in new.cert.csr -out new.cert.cert -req
-signkey new.cert.key -days 365
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).
new.cert.csr: No such file or directory


What gives?
Thanks,
Bill

-------------------------------------
William C. Klein
Webmaster | Vax Systems Administrator
Valparaiso University
-------------------------------------

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


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

Reply via email to