lnmp1.6 添加Let's Encrypt 证书出错
昨天重装了一下系统,发现lnmp1.6 在添加Let's Encrypt 证书时被卡住了,无法安装下去。重试了几次,如果选1用自已的证书,是可以成功安装的。如果选2选择申请Let's Encrypt 证书时,就会被卡住了。因此这个问题可能是要更新一下那个acme组件才行的了。今早又试了一下,结果仍然报错:
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...
hCreate Virtul Host directory......
set permissions of Virtual Host directory......
Create Virtul Host Rewrite file......
Create rewirte file successful,You can add rewrite rule into /usr/local/nginx/conf/rewrite/abc.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......
Reload service php-fpmdone
Add database Sucessfully.
--2019-09-26 08:28:48--https://soft.vpser.net/lib/acme.sh/latest.tar.gz
Resolving soft.vpser.net... h50.93.201.152, 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net|50.93.201.152|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139601 (136K)
Saving to: `latest.tar.gz'
100%[======================================>] 139,601 --.-K/s in 0.003s
2019-09-26 08:28:49 (50.4 MB/s) - `latest.tar.gz' saved
It is recommended to install socat first.
We use socat for standalone server if you use standalone mode.
If you don't use standalone mode, just ignore this warning.
Installing to /usr/local/acme.sh
Installed to /usr/local/acme.sh/acme.sh
Installing alias to '/root/.bashrc'
OK, Close and reopen your terminal to start using acme.sh
Installing alias to '/root/.cshrc'
Installing alias to '/root/.tcshrc'
Installing cron job
no crontab for root
no crontab for root
Good, bash is found, so change the shebang to use bash as preferred.
OK
Stopping crond:
Starting crond:
Starting create SSL Certificate use Let's Encrypt...
Create account key ok.
Registering account
到这一步,就卡定在这里,无法再继续往下面去了。期待军哥给出解决方案~
发日志看一下 licess 发表于 2019-9-26 10:58
发日志看一下
这个日志我不知在哪里啊,找了半天没找到了 明明小子 发表于 2019-9-26 14:24
这个日志我不知在哪里啊,找了半天没找到了
置顶帖 “问题反馈必读” 上有说明 综合别人的情况及军哥的帮助。这个问题已经解决了。特写出来,以方便后面遇到相同问题的网友~
先执行
yum install nss
然后再执行
/usr/local/acme.sh/acme.sh --upgrade
最后就可以正常安装这个 Let's Encrypt 证书了。
页:
[1]