日期:2014-05-16  浏览次数:20994 次

linux下openssl要生成证书openssl.cnf配置
openssl已经安装编译成功,可以生成私钥,
但要生成证书,报错:
[root@localhost ~]# openssl req -config openssl.cnf -new -x509 -days 3650 -key ca.key -out ca.crt
error on line -1 of openssl.cnf
3669:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('openssl.cnf','rb')
3669:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
3669:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:
还需要配置 openssl.cnf,
网上找了很多配置的,讲的太多,其实要修改的内容应该很少
我只想知道要修改那些项?

------解决方案--------------------
network security with openssl 有 ebook