yaodequan 发表于 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_fpmdone
/usr/local/acme.sh/acme.sh
Starting create SSL Certificate use Let's Encrypt...
Creating domain key
The domain key is here: /usr/local/nginx/conf/ssl/m.2018wap.com/m.2018wap.com.key
Single domain='m.XXXX.com'
Getting domain auth token for each domain

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

# screen -S lnmp
bcurl-errors.html for error code: 35
Download error.
Upgrade failed!
# /usr/local/acme.sh/acme.sh --upgrade
Installing from online archive.
Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
Download error.
Upgrade failed!






明明小子 发表于 2019-9-26 14:21:05

我晕了,你和我一模一样的,我也是申请不了免费证书,也升不了级

li38455324 发表于 2019-9-26 14:34:22

我也这样,请问解决了吗,一样的问题 :'(

licess 发表于 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 一下就可以了
页: [1]
查看完整版本: 免费证书添加失败,无法升级