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里面放置证书

相关文章:

  • 2021-07-17
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
猜你喜欢
  • 2022-02-08
  • 2021-07-02
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案