VPS侦探论坛

 找回密码
 注册
查看: 3285|回复: 2

启动lnmp提示 [emerg] cannot load certificate "/home/ssl/"

[复制链接]
发表于 2020-6-27 00:55:33 | 显示全部楼层 |阅读模式

求助。自己手贱删除了/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


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-6-27 01:32:33 | 显示全部楼层


问题已经解决,是vhost下面你的配置文件出错了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-6-27 10:27:28 | 显示全部楼层

你这明显是你只添加的证书目录,没写证书文件名
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-26 22:49 , Processed in 0.025781 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表