VPS侦探论坛

 找回密码
 注册
12
返回列表 发新帖
楼主: miniday

Lnmp添加ssl失败

[复制链接]
发表于 2018-4-11 09:11:23 | 显示全部楼层

[root@VM_69_248_centos lnmp1.5]# lnmp ssl add
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Please enter domain(example: www.lnmp.org): www.lyfhtzy.com
Your domain: www.lyfhtzy.com
Enter more domain name(example: lnmp.org *.lnmp.org):
Please enter the directory for domain www.lyfhtzy.com: /home/wwwroot/www.lyfhtzy.com
Allow Rewrite rule? (y/n)
You choose rewrite: none
Allow access log? (y/n)
Disable access log.
Enable PHP Pathinfo? (y/n)
Disable pathinfo.
1: Use your own SSL Certificate and Key
2: Use Let's Encrypt to create SSL Certificate and Key
Enter 1 or 2: 2
It will be processed automatically.
/usr/local/acme.sh/acme.sh [found]
Starting create SSL Certificate use Let's Encrypt...
[Wed Apr 11 09:09:57 CST 2018] Single domain='www.lyfhtzy.com'
[Wed Apr 11 09:09:57 CST 2018] Getting domain auth token for each domain
[Wed Apr 11 09:09:57 CST 2018] Getting webroot for domain='www.lyfhtzy.com'
[Wed Apr 11 09:09:57 CST 2018] Getting new-authz for domain='www.lyfhtzy.com'
[Wed Apr 11 09:10:01 CST 2018] The new-authz request is ok.
[Wed Apr 11 09:10:02 CST 2018] Verifying:www.lyfhtzy.com
[Wed Apr 11 09:10:07 CST 2018] Pending
[Wed Apr 11 09:10:10 CST 2018] Success
[Wed Apr 11 09:10:10 CST 2018] Verify finished, start to sign.
[Wed Apr 11 09:10:13 CST 2018] Cert success.
[Wed Apr 11 09:10:13 CST 2018] Your cert is in  /usr/local/nginx/conf/ssl/www.lyfhtzy.com/www.lyfhtzy.com.cer
[Wed Apr 11 09:10:13 CST 2018] Your cert key is in  /usr/local/nginx/conf/ssl/www.lyfhtzy.com/www.lyfhtzy.com.key
[Wed Apr 11 09:10:15 CST 2018] The intermediate CA cert is in  /usr/local/nginx/conf/ssl/www.lyfhtzy.com/ca.cer
[Wed Apr 11 09:10:15 CST 2018] And the full chain certs is there:  /usr/local/nginx/conf/ssl/www.lyfhtzy.com/fullchain.cer
[Wed Apr 11 09:10:15 CST 2018] Run reload cmd: /etc/init.d/nginx reload
Reload service nginx...  done
[Wed Apr 11 09:10:15 CST 2018] Reload success
Let's Encrypt SSL Certificate create successfully.
升级到1.5后,添加完全正常
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-7-30 14:25:50 | 显示全部楼层


licess 发表于 2018-4-11 09:11
升级到1.5后,添加完全正常

我的用的lnmp1.6  ,vhost已经添加,使用lnmp ssl add 的时候总是失败,后来看到你这个内容,好好比对一下,发现问题,如下这几项我都是选择y ,所以失败, 我再次按照你这内容,全部选择n  ,然后正常获取到证书了,感谢!
Allow Rewrite rule? (y/n)
You choose rewrite: none
Allow access log? (y/n)
Disable access log.
Enable PHP Pathinfo? (y/n)
Disable pathinfo.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-20 13:25 , Processed in 0.025610 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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