VPS侦探论坛

标题: 启动lnmp提示 [emerg] cannot load certificate "/home/ssl/" [打印本页]

作者: 太阳好刺眼    时间: 2020-6-27 00:55
标题: 启动lnmp提示 [emerg] cannot load certificate "/home/ssl/"
求助。自己手贱删除了/home/ssl/这个目录,启动lanmp时,nginx启动不起来,提示错误如下,我该怎么修复???谢谢指导


Stoping LNMP...
Stoping nginx... nginx: [emerg] cannot load certificate "/home/ssl/": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/ssl/','r') error:2006D080:BIO routines:BIO_new_file:no such file)
failed. Use force-quit
Terminating nginx...  done
Shutting down MySQL... SUCCESS!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx... nginx: [emerg] cannot load certificate "/home/ssl/": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/ssl/','r') error:2006D080:BIO routines:BIO_new_file:no such file)
failed
Starting MySQL... SUCCESS!
Starting php-fpm  done



作者: 太阳好刺眼    时间: 2020-6-27 01:32
问题已经解决,是vhost下面你的配置文件出错了
作者: licess    时间: 2020-6-27 10:27
你这明显是你只添加的证书目录,没写证书文件名




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4