当前位置: 技术问答>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
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。