VPS侦探论坛

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

Let's Encrypt SSL获取失败

[复制链接]
发表于 2017-4-8 10:36:32 | 显示全部楼层 |阅读模式

系统为centos7 64位全新安装lnmp
新建站点,域名很早解析好的,错误提示如下:
Please enter your email address: ************@qq.com
It will be processed automatically.
You select the exist rewrite rule:/usr/local/nginx/conf/none.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: [emerg] open() "/home/wwwlogs/nginx_error.log" failed (2: No such file or directory)
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Reload Nginx......
/bin/certbot [found]
Starting create SSL Certificate use Let's Encrypt...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for hk.ntianle.com
Using the webroot path /home/wwwroot/hk.ntianle.com for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. hk.ntianle.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://hk.ntianle.com/.well-known/acme-challenge/Fn0uGfRujrcQcGc7vL-yzR314XLwT3E4UC-qWh7dDi0: "<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"

IMPORTANT NOTES:
- The following errors were reported by the server:

   Domain: hk.ntianle.com
   Type:   unauthorized
   Detail: Invalid response from
   http://hk.ntianle.com/.well-known/acme-challenge/Fn0uGfRujrcQcGc7vL-yzR314XLwT3E4UC-qWh7dDi0:
   "<html>
   <head><title>404 Not Found</title></head>
   <body bgcolor="white">
   <center><h1>404 Not Found</h1></center>
   <hr><center>"

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address.
Let's Encrypt SSL Certificate create failed!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-4-8 14:36:53 | 显示全部楼层


nginx: [emerg] open() "/home/wwwlogs/nginx_error.log" failed (2: No such file or directory) 文件不存在,你自己创建上

按letsencrypt的返回信息文件不存在,可能解析的ip不对或其他原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-4-13 13:52:04 | 显示全部楼层

回复 2# 的帖子


谢谢军哥  已搞定
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 09:18 , Processed in 0.026474 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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