Chinaunix
标题:
请问:OpenSSL创建CA证书时不能找到配置文件?
[打印本页]
作者:
wzjefc
时间:
2006-03-07 20:07
标题:
请问:OpenSSL创建CA证书时不能找到配置文件?
我的系统环境:
FC3:apache1.3.33+openssl-0.9.8 +mod_ssl-2.8.24
以上软件均已安装完毕,当我运行如下命令时:
#openssl req -new -x509 --days 3650 -key ca.key -out ca.crt
//ca.key是已经存在的。
出现如下错误:
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:
根据我查找如下:
1。可执行openss位于:/usr/bin/openssl 头文件位于:/usr/include/openssl
2。有一个配置文件:openssl.cnf 在我的安装后的源代码目录下,肯定是找不到了,请问应该拷贝到哪个目录下
3。还是有别的原因,请问应该如何解决?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2