VPS侦探论坛

 找回密码
 注册
查看: 235|回复: 1

LNMP 1.9无法获取泛域名证书

[复制链接]
发表于 2023-4-24 23:01:23 | 显示全部楼层 |阅读模式

本帖最后由 mzihen 于 2023-4-24 23:04 编辑
  1. nginx: [emerg] cannot load certificate "/usr/local/nginx/conf/ssl/abc.com/fullchain.cer": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/nginx/conf/ssl/abc.com/fullchain.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  2. nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
  3. Reload Nginx......
  4. nginx: [emerg] cannot load certificate "/usr/local/nginx/conf/ssl/abc.com/fullchain.cer": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/nginx/conf/ssl/abc.com/fullchain.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  5. ------------------ SSL Certificate information as follows ------------------
  6. | Domain: abc.com *.abc.com
  7. | SSL Certificate: /usr/local/nginx/conf/ssl/abc.com/fullchain.cer
  8. | SSL Certificate Key: /usr/local/nginx/conf/ssl/abc.com/abc.com.key
  9. ------------------------------------ ---------------------------------------
  10. Generate SSL Certificate successfully.
复制代码



军哥,我用LNMP 1.9之前4月15日可以正常申请证书,后来又添加了和namesilo和dnspod的参数,今天申请证书就提示以上错误信息,Let's Encrypt和ZeroSSL都尝试过了,都是找不到证书。看SSL目录下,对应的域名后面会添加_ecc的后缀,以前不是这样的。
麻烦看下哈。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-4-24 23:09:38 | 显示全部楼层


看到这个帖子了
lnmp 1.9生成SSL证书成功但证书不存在,目录有_ecc解决方法
https://bbs.vpser.net/forum.php? ... 29&fromuid=9240

我用这里的第一个方法修复了,谢谢!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2023-6-11 02:49 , Processed in 0.044615 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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