- 积分
- 21
- 威望
-
- 金钱
-
- 注册时间
- 2018-12-12
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
昨天重装了一下系统,发现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-fpm done
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) [application/octet-stream]
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 [139601/139601]
[Thu Sep 26 08:28:49 CST 2019] It is recommended to install socat first.
[Thu Sep 26 08:28:49 CST 2019] We use socat for standalone server if you use standalone mode.
[Thu Sep 26 08:28:49 CST 2019] If you don't use standalone mode, just ignore this warning.
[Thu Sep 26 08:28:49 CST 2019] Installing to /usr/local/acme.sh
[Thu Sep 26 08:28:49 CST 2019] Installed to /usr/local/acme.sh/acme.sh
[Thu Sep 26 08:28:49 CST 2019] Installing alias to '/root/.bashrc'
[Thu Sep 26 08:28:49 CST 2019] OK, Close and reopen your terminal to start using acme.sh
[Thu Sep 26 08:28:49 CST 2019] Installing alias to '/root/.cshrc'
[Thu Sep 26 08:28:49 CST 2019] Installing alias to '/root/.tcshrc'
[Thu Sep 26 08:28:49 CST 2019] Installing cron job
no crontab for root
no crontab for root
[Thu Sep 26 08:28:49 CST 2019] Good, bash is found, so change the shebang to use bash as preferred.
[Thu Sep 26 08:28:49 CST 2019] OK
Stopping crond: [ OK ]
Starting crond: [ OK ]
Starting create SSL Certificate use Let's Encrypt...
[Thu Sep 26 08:28:50 CST 2019] Create account key ok.
[Thu Sep 26 08:28:50 CST 2019] Registering account
到这一步,就卡定在这里,无法再继续往下面去了。期待军哥给出解决方案~
|
|