p1114 发表于 2017-4-8 10:36:32

Let's Encrypt SSL获取失败

系统为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: 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
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!

licess 发表于 2017-4-8 14:36:53

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

按letsencrypt的返回信息文件不存在,可能解析的ip不对或其他原因

p1114 发表于 2017-4-13 13:52:04

回复 2# 的帖子

谢谢军哥已搞定:victory: :victory: :victory:
页: [1]
查看完整版本: Let's Encrypt SSL获取失败