- 积分
- 112
- 威望
-
- 金钱
-
- 注册时间
- 2016-1-22
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2019-8-28 09:31:23
|
显示全部楼层
100%[==============================================>] 139,601 --.-K/s in 0.06s
2019-08-28 09:20:17 (2.08 MB/s) - `latest.tar.gz' saved [139601/139601]
[Wed Aug 28 09:20:17 CST 2019] It is recommended to install socat first.
[Wed Aug 28 09:20:17 CST 2019] We use socat for standalone server if you use standalone mode.
[Wed Aug 28 09:20:17 CST 2019] If you don't use standalone mode, just ignore this warning.
[Wed Aug 28 09:20:17 CST 2019] Installing to /usr/local/acme.sh
[Wed Aug 28 09:20:17 CST 2019] Installed to /usr/local/acme.sh/acme.sh
[Wed Aug 28 09:20:17 CST 2019] Installing alias to '/root/.bashrc'
[Wed Aug 28 09:20:17 CST 2019] OK, Close and reopen your terminal to start using acme.sh
[Wed Aug 28 09:20:17 CST 2019] Installing alias to '/root/.cshrc'
[Wed Aug 28 09:20:17 CST 2019] Installing alias to '/root/.tcshrc'
[Wed Aug 28 09:20:17 CST 2019] Installing cron job
no crontab for root
no crontab for root
[Wed Aug 28 09:20:17 CST 2019] Good, bash is found, so change the shebang to use bash as preferred.
[Wed Aug 28 09:20:18 CST 2019] OK
Stopping crond: [ OK ]
Starting crond: [ OK ]
Starting create SSL Certificate use Let's Encrypt...
[Wed Aug 28 09:20:19 CST 2019] Create account key ok.
[Wed Aug 28 09:20:19 CST 2019] Registering account
[Wed Aug 28 09:20:20 CST 2019] Registered
[Wed Aug 28 09:20:20 CST 2019] ACCOUNT_THUMBPRINT='JZtCG1A0C6IKqelq3MJUc6Ot52rWyrUOWK9DvwZ0k6M'
[Wed Aug 28 09:20:20 CST 2019] Creating domain key
[Wed Aug 28 09:20:21 CST 2019] The domain key is here: /usr/local/nginx/conf/ssl/www.mysite.com/www.mysite.com.key
[Wed Aug 28 09:20:21 CST 2019] Multi domain='DNS:www.mysite.com,DNS:mysite.com'
[Wed Aug 28 09:20:21 CST 2019] Getting domain auth token for each domain
[Wed Aug 28 09:20:22 CST 2019] Getting webroot for domain='www.mysite.com'
[Wed Aug 28 09:20:22 CST 2019] Getting webroot for domain='mysite.com'
[Wed Aug 28 09:20:22 CST 2019] Verifying: www.mysite.com
[Wed Aug 28 09:20:26 CST 2019] Success
[Wed Aug 28 09:20:26 CST 2019] Verifying: mysite.com
[Wed Aug 28 09:20:29 CST 2019] Success
[Wed Aug 28 09:20:29 CST 2019] Verify finished, start to sign.
[Wed Aug 28 09:20:29 CST 2019] Lets finalize the order, Le_OrderFinalize: https://acme-v02.api.letsencrypt.org/acme/finalize/64410848/975442899
[Wed Aug 28 09:20:30 CST 2019] Download cert, Le_LinkCert: https://acme-v02.api.letsencrypt.org/acme/cert/033fc44ea121920b3ddbf2749d112024a6b3
[Wed Aug 28 09:20:30 CST 2019] Cert success.
[Wed Aug 28 09:20:30 CST 2019] Your cert is in /usr/local/nginx/conf/ssl/www.mysite.com/www.mysite.com.cer
[Wed Aug 28 09:20:30 CST 2019] Your cert key is in /usr/local/nginx/conf/ssl/www.mysite.com/www.mysite.com.key
[Wed Aug 28 09:20:30 CST 2019] The intermediate CA cert is in /usr/local/nginx/conf/ssl/www.mysite.com/ca.cer
[Wed Aug 28 09:20:30 CST 2019] And the full chain certs is there: /usr/local/nginx/conf/ssl/www.mysite.com/fullchain.cer
[Wed Aug 28 09:20:30 CST 2019] Run reload cmd: /etc/init.d/nginx reload
Reload service nginx... done
[Wed Aug 28 09:20:31 CST 2019] Reload success
Let's Encrypt SSL Certificate create successfully.
Create dhparam.pem...
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
.......................+.................................................................+...................+............................................................................................+................................................................................................................+.....................................+......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+.....................................+.........+.................++*++*
Test Nginx configure file......
nginx: [emerg] invalid value "TLSv1.3" in /usr/local/nginx/conf/vhost/www.mysite.com.conf:50
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Reload Nginx......
nginx: [emerg] invalid value "TLSv1.3" in /usr/local/nginx/conf/vhost/www.mysite.com.conf:50
谢谢,脚本升级成功了,可是通过https://www.mysite.com 打不开
显示无法访问此网站 |
|