Hi,
I am trying to create to use certificate for the first
time.
I am using Redhat Linux 9.0 server with openssl
"openssl-0.9.7d" installed and compiled.

I have done following steps.
##########

[  root]#openssl genrsa -des3 -out server.key 2048

This propmted me for passowrd. O.K.
[  root]#openssl req -new -key server.key -out
server.csr 

This prompted me for data. common name, etc. o.K.

[  root]#openssl genrsa -des3 -out ca.key 2048

This prompted me for password. O.K.
[  root]#openssl req -new -x509 -days 365 -key ca.key
-out ca.crt 

This prompted me for data O.K.

everything worked fine till this stage.

When I want to create certificate with following
command :

[  root]# openssl ca
Using configuration from /usr/share/ssl/openssl.cnf
Error opening CA private key
./demoCA/private/cakey.pem
6198:error:02001002:system library:fopen:No such file
or directory:bss_file.c:25
9:fopen('./demoCA/private/cakey.pem','r')
6198:error:20074002:BIO routines:FILE_CTRL:system
lib:bss_file.c:261:
unable to load CA private key

File "/usr/share/ssl/openssl.cnf" is very much there
but values are still default. Not altered with what i
entered earlier.

Need help.

Do I have to change values in file
"/usr/share/ssl/openssl.cnf" manually?
and then use command "openssl ca"

Thanks for support.











        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to