VPS侦探论坛

 找回密码
 注册
查看: 4409|回复: 3

免费证书添加失败,无法升级

[复制链接]
发表于 2019-9-26 13:59:50 | 显示全部楼层 |阅读模式


Add SSL Certificate (y/n) y
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.

Press any key to start create virtul host...

Create Virtul Host directory......
set permissions of Virtual Host directory......
chmod: changing permissions of `/home/xiaoshuo/2018/pc/neiron/1/2/kaishi/shuoba/k/.user.ini': Operation not permitted
chown: changing ownership of `/home/xiaoshuo/2018/pc/neiron/1/2/kaishi/shuoba/k/.user.ini': Operation not permitted
Create Virtul Host Rewrite file......
Create rewirte file successful,You can add rewrite rule into /usr/local/nginx/conf/rewrite/2018wap.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......
/bin/lnmp: line 494: /home/xiaoshuo/2018/pc/neiron/1/2/kaishi/shuoba/k//.user.ini: Permission denied
chmod: changing permissions of `/home/xiaoshuo/2018/pc/neiron/1/2/kaishi/shuoba/k//.user.ini': Operation not permitted
Shutting down php_fpm . done
Starting php_fpm  done
/usr/local/acme.sh/acme.sh [found]
Starting create SSL Certificate use Let's Encrypt...
[Thu Sep 26 13:29:25 CST 2019] Creating domain key
[Thu Sep 26 13:29:25 CST 2019] The domain key is here: /usr/local/nginx/conf/ssl/m.2018wap.com/m.2018wap.com.key
[Thu Sep 26 13:29:25 CST 2019] Single domain='m.XXXX.com'
[Thu Sep 26 13:29:25 CST 2019] Getting domain auth token for each domain

到这里就卡主了  在论坛发现有人说可以升级下就好了,尝试升级提示下载失败

[root@localhost ~]# screen -S lnmp
bcurl-errors.html for error code: 35
[Thu Sep 26 13:38:06 CST 2019] Download error.
[Thu Sep 26 13:38:06 CST 2019] Upgrade failed!
[root@localhost ~]# /usr/local/acme.sh/acme.sh --upgrade
[Thu Sep 26 13:39:24 CST 2019] Installing from online archive.
[Thu Sep 26 13:39:24 CST 2019] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Thu Sep 26 13:39:24 CST 2019] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
[Thu Sep 26 13:39:24 CST 2019] Download error.
[Thu Sep 26 13:39:24 CST 2019] Upgrade failed!






美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-9-26 14:21:05 | 显示全部楼层


我晕了,你和我一模一样的,我也是申请不了免费证书,也升不了级
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2019-9-26 14:34:22 | 显示全部楼层

我也这样,请问解决了吗,一样的问题
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-9-26 16:53:45 | 显示全部楼层



Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
的错误都是由于centos上nss造成的,yum install nss 一下就可以了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-20 15:34 , Processed in 0.026783 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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