I am use learning and testing CA's.  I have tried to create a 
self-signed CA certificate using the following:

openssl req -new -x509 -days 365 -key sample.key -out sample.crt

and this is the error message that I get. I re-built openssl and 
openssh, but I still get this error.  What am I doing wrong?

Using configuration from /etc/ssl/openssl.cnf
sample.key: No such file or directory
64260:error:02001002:system library:fopen:No such file or 
directory:bss_file.c:245:fopen('sample.key','r')
64260:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247:
ns2# openssl req -new -x509 -days 365 -key 
/usr/local/apache2/cert/sample.key -out sample.crt

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

Reply via email to