当前位置: 技术问答>linux和unix
linux下openssl要生成证书openssl.cnf配置
来源: 互联网 发布时间:2017-02-26
本文导语: 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...
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,
网上找了很多配置的,讲的太多,其实要修改的内容应该很少
我只想知道要修改那些项?
但要生成证书,报错:
[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