Re: Error when signing a certificate
Hi, I got the same error the first time I ran OpenSSL. I don't know if it's the same error for you, but for me it was just an error in my config file.. Look for the foolowing line in the "[ CA_default ]" part of the config file: private_key= $dir/private/privkey.pem # CA private key Make sure there is a space between ".pem" and the comment. It worked for me... Hope it'll help you ! Regards, Philippe On Thu, 2002-04-11 at 15:38, Charles Hamel wrote: > Hi , I am trying to do a SSL certificate to use TLS/SSL encryption with > Qpopper. I read the doc and I created a certificate request succesfully > but it seems that when I try to sign it, it crash with a serious error, > here's the output: > > [bob@domain ]# openssl ca -in req.pem -out signed_req.pem > Using configuration from /usr/share/ssl/openssl.cnf > ./demoCA/private/cakey.pem: No such file or directory > trying to load CA private key > 14403:error:02001002:system library:fopen:No such file or > directory:bss_file.c:245:fopen('./demoCA/private/cakey.pem','r') > 14403:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247: > > I am running OpenSSL 0.9.6b-8 on RH7.2. > > Thanks for your help! > > Charles -- Philippe Camus - Unix Administrator In-Fusio http://www.in-fusio.com/ The mobile game connection Le Millenium 12 Quai de Queyries 33072 Bordeaux Cedex France Tel : +33 (0) 557 773 800 Ext.3846 Fax : +33 (0) 556 400 548 __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Error when signing a certificate
It's ok, It looked serious because of the .c file thing. I fixed my problem, I just created a test certificate, sorry. Charles - Original Message - From: "Pavel Tsekov" <[EMAIL PROTECTED]> To: "Charles Hamel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 9:56 AM Subject: Re: Error when signing a certificate > Hello Charles, > > Thursday, April 11, 2002, 3:38:44 PM, you wrote: > > CH> Hi , I am trying to do a SSL certificate to use TLS/SSL encryption with Qpopper. I read the doc and I created a certificate request succesfully but it seems that when I try to sign it, it crash > CH> with a serious error, here's the output: > > CH> [bob@domain ]# openssl ca -in req.pem -out signed_req.pem > CH> Using configuration from /usr/share/ssl/openssl.cnf > CH> ./demoCA/private/cakey.pem: No such file or directory > CH> trying to load CA private key > CH> 14403:error:02001002:system library:fopen:No such file or directory:bss_file.c:245:fopen('./demoCA/private/cakey.pem','r') > CH> 14403:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247: > > What's so serious here ? It just cannot find a file ? Have you checked > that the file it complains about really exists ? I see it uses a > relative path to look the CA key - maybe you have a erronous > configuration file ? > > __ > 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]
Re: Error when signing a certificate
Hello Charles, Thursday, April 11, 2002, 3:38:44 PM, you wrote: CH> Hi , I am trying to do a SSL certificate to use TLS/SSL encryption with Qpopper. I read the doc and I created a certificate request succesfully but it seems that when I try to sign it, it crash CH> with a serious error, here's the output: CH> [bob@domain ]# openssl ca -in req.pem -out signed_req.pem CH> Using configuration from /usr/share/ssl/openssl.cnf CH> ./demoCA/private/cakey.pem: No such file or directory CH> trying to load CA private key CH> 14403:error:02001002:system library:fopen:No such file or directory:bss_file.c:245:fopen('./demoCA/private/cakey.pem','r') CH> 14403:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247: What's so serious here ? It just cannot find a file ? Have you checked that the file it complains about really exists ? I see it uses a relative path to look the CA key - maybe you have a erronous configuration file ? __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Error when signing a certificate
Hi , I am trying to do a SSL certificate to use TLS/SSL encryption with Qpopper. I read the doc and I created a certificate request succesfully but it seems that when I try to sign it, it crash with a serious error, here's the output: [bob@domain ]# openssl ca -in req.pem -out signed_req.pemUsing configuration from /usr/share/ssl/openssl.cnf./demoCA/private/cakey.pem: No such file or directorytrying to load CA private key14403:error:02001002:system library:fopen:No such file or directory:bss_file.c:245:fopen('./demoCA/private/cakey.pem','r')14403:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247: I am running OpenSSL 0.9.6b-8 on RH7.2. Thanks for your help! Charles