Let's Encrypt Linode JP 2 生成不了证书 !

问答中心分类: OneinStackLet's Encrypt Linode JP 2 生成不了证书 !
cc asked 7 年 ago
这2天 搞了个Linode JP 2 的 Linux  VPS 
用./addons.sh  安装了客户端,
域名解析用DSNPod  在主机上了Ping 了也解析成功了,
添加虚拟主机的时候,

#######################################################################
# OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ #
# For more information please visit https://oneinstack.com #
#######################################################################
Do you want to setup SSL under Nginx? [y/n]: y
Please input domain(example: http://www.example.com): mfgod.com
Please input the directory for the domain:mfgod.com :
(Default directory: /data/wwwroot/mfgod.com):
Virtual Host Directory=/data/wwwroot/mfgod.com
Create Virtul Host directory......
set permissions of Virtual Host directory......
domain=mfgod.com
Do you want to add more domain name? [y/n]: y
Type domainname or IP(example: example.com other.example.com): http://www.mfgod.com
domain list=www.mfgod.com
Do you want to redirect from http://www.mfgod.com to mfgod.com? [y/n]: y
Do you want to redirect all HTTP requests to HTTPS? [y/n]: y
Do you want to use a Let's Encrypt certificate? [y/n]: y
 
就这样了,下面没有了。没有你文章上面提示的最后一句!
congratulations

7 Answers
yuore answered 7 年 ago
我也是 jp2 的 VPS,/ addons.sh客户端也安装好了,生成证书也是一直失败,找不出原因。
Failed authorization procedure. test.wuuw.club (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://test.wuuw.club/.well-known/acme-challenge/3lFME6o-OX9_lQuWEef9p3fxcpoE0QlvIizFCoUYUEs: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
Error: Let's Encrypt SSL certificate installation failed!

oneinstack answered 7 年 ago
congratulations显示去掉,能绑定域名到最后,即成功!
@yuore 什么架构?

yuore answered 7 年 ago
LANP / LNMP 两台都会 centOS7 系统,上星期安装的都有这情形。

oneinstack answered 7 年 ago
@yuore 如果方便请私信ip root密码

oneinstack answered 7 年 ago
@yuore 连不上哦

oneinstack answered 7 年 ago
@yuore 那个域名需要加let‘s 呢 ?

oneinstack answered 7 年 ago
@yuore 你自己改过/usr/local/apache/conf/vhost/ 里面配置文件 ,vhost.sh启用let's 时候会先设置80,让let's服务器访问,vhost.sh自动设置时候是<VirtualHost *:80>,设置后虚拟主机是有问题的,需要<VirtualHost 192.168.x.x:80> 。看到你其它vhost配置文件制定了ip,所有失败