VPS侦探论坛

 找回密码
 注册
查看: 3495|回复: 4

LNMP1.5安装完成后 用lnmp vhost add添加域名 在SSL时提示报错

[复制链接]
发表于 2018-9-4 13:47:00 | 显示全部楼层 |阅读模式

LNMP1.5安装完成后 用lnmp vhost add添加域名 在SSL时提示报错 也不能访问,提示以下错误,求帮忙指导下谢谢了。

It will be processed automatically.

Press any key to start create virtul host...

Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/wordpress.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
Gracefully shutting down php-fpm . done
Starting php-fpm  done
/usr/local/acme.sh/acme.sh [found]
Starting create SSL Certificate use Let's Encrypt...
[Tue Sep  4 13:40:49 CST 2018] Creating domain key
[Tue Sep  4 13:40:49 CST 2018] The domain key is here: /usr/local/nginx/conf/ssl/www.XXXX.cn/www.XXXX.cn.key
[Tue Sep  4 13:40:49 CST 2018] Multi domain='DNS:www.xxxX.cn,DNS:XXXX.cn,DNS:*.xxxx.cn'
[Tue Sep  4 13:40:49 CST 2018] Getting domain auth token for each domain
[Tue Sep  4 13:40:50 CST 2018] Create new order error. Le_OrderFinalize not found. {"type":"urn:ietf:params:acme:error:malformed","detail":"Error creating new order :: Domain name \"www.XXXX.cn\" is redundant with a wildcard domain in the same request. Remove one or the other from the certificate request.","status": 400}
[Tue Sep  4 13:40:50 CST 2018] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!
================================================
Virtualhost infomation:
Your domain: www.XXXX.cn
Home Directory: /home/wwwroot/www.xxxx.cn
Rewrite: wordpress
Enable log: no
Create database: no
Create ftp account: no
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-9-4 17:15:46 | 显示全部楼层


lnmp vhost add 或 lnmp ssl add 不支持泛域名ssl,泛域名ssl自行去官网查看专门泛域名ssl的教程
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-9-4 20:16:56 | 显示全部楼层

https://lnmp.org/faq/letsencrypt-wildcard-ssl.html 使用这个生成泛域名证书
然后lnmp vhost add 添加证书选择1自有,然后输入之前的证书地址
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2018-9-4 21:13:41 | 显示全部楼层

回复 3 # 的帖子




生成泛域名按照哪一个操作,阿里云域名,能否详细说明下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-9-5 21:47:07 | 显示全部楼层

LNMP用的是acme.sh的申请维护工具,这个问题最好到acme.sh上去可以得到更详细的解答。

实际上主站有相当齐全的说明文档了,还是中文的。

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-19 13:24 , Processed in 0.027240 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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