OpenSLL:Unable to load config file

2006-03-07 Thread 王 振江

Excuse me:
When I create an certificate, encounter this error:Unable to load config 
file.

The ditails below:
My system enviroment:FC3 core + apache-1.3.33 +openssl-0.9.8 + 
mod_ssl-2.8.28 
Install Mode :DSO

when i excute command in shell:
#openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
//ca.ke is already existed.
Unable to load config info
Enter pass phrase for ca.key:**
unable to find  'distinguished name' in config
problems making Certificate Request
8097: error 0E06D06A:configuration file routines:NCONF_get_string:no conf 
or enviroment variable:conf_lib.c325:

//---
Openssl Location:
/usr/bin/openssl
/usr/include/openssl
and there is a config file 'openssl.conf' in the source code directory 
which is already make  make install


How can I solve this problem?

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: OpenSLL:Unable to load config file

2006-03-07 Thread Bernhard Froehlich
王 振江 wrote:
 Excuse me:
 When I create an certificate, encounter this error:Unable to load
 config file.
 The ditails below:
 My system enviroment:FC3 core + apache-1.3.33 +openssl-0.9.8 +
 mod_ssl-2.8.28 Install Mode :DSO
 when i excute command in shell:
 #openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
 //ca.ke is already existed.
 Unable to load config info
 Enter pass phrase for ca.key:**
 unable to find 'distinguished name' in config
 problems making Certificate Request
 8097: error 0E06D06A:configuration file routines:NCONF_get_string:no
 conf or enviroment variable:conf_lib.c325:
 //---
 Openssl Location:
 /usr/bin/openssl
 /usr/include/openssl
 and there is a config file 'openssl.conf' in the source code directory
 which is already make  make install

 How can I solve this problem?
Tell OpenSSL where it can find the configuration file you want to use,
either by using the -config parameter or by setting the environment
variable OPENSSL_CONF. Be sure to edit the config file to match your
needs...

Hope it helps,
Ted
;)

-- 
PGP Public Key Information
Download complete Key from http://www.convey.de/ted/tedkey_convey.asc
Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26




smime.p7s
Description: S/MIME Cryptographic Signature