Centos 7.5 nginx+web集群配置https报错
报错信息:
[root@lb01 conf.d]# nginx -t
nginx: [emerg] BIO_new_file("/etc/nginx/ssl_key/server.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl_key/server.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
错误原因:没有证书
解决方法:/etc/nginx/ssl_key里面放置证书
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:nginx: [emerg] BIO_new_file(“/etc/nginx/ssl_key/server.crt”) failed (SSL: error:02001002:syste - Python技术站