- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2018-10-19
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
1、我选择2,开始安装Let's Encrypt SSL,没要我输入邮箱,直接自动运行并成功完成,最下面附上我保存的整个记录,其中域名改成了xxx.com
2、自动更新我通过命令crontab -l ,看到如下
29 0 * * * "/usr/local/acme.sh"/acme.sh --cron --home "/usr/local/acme.sh" > /dev/null
请问军哥,没要求我输入邮箱和自动更新都正常吗?
记录如下:Enter 1 or 2: 2
It will be processed automatically.
--2018-10-18 16:05:28-- https://soft.vpser.net/lib/acme.sh/latest.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... 50.93.201.152, 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net (soft.vpser.net)|50.93.201.152|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 110469 (108K) [application/octet-stream]
Saving to: ‘latest.tar.gz’
100%[=============================================================================================================================>] 110,469 --.-K/s in 0.1s
2018-10-18 16:05:29 (866 KB/s) - ‘latest.tar.gz’ saved [110469/110469]
[Thu Oct 18 16:05:29 CST 2018] It is recommended to install socat first.
[Thu Oct 18 16:05:29 CST 2018] We use socat for standalone server if you use standalone mode.
[Thu Oct 18 16:05:29 CST 2018] If you don't use standalone mode, just ignore this warning.
[Thu Oct 18 16:05:29 CST 2018] Installing to /usr/local/acme.sh
[Thu Oct 18 16:05:29 CST 2018] Installed to /usr/local/acme.sh/acme.sh
[Thu Oct 18 16:05:29 CST 2018] Installing alias to '/root/.bashrc'
[Thu Oct 18 16:05:29 CST 2018] OK, Close and reopen your terminal to start using acme.sh
[Thu Oct 18 16:05:29 CST 2018] Installing alias to '/root/.cshrc'
[Thu Oct 18 16:05:29 CST 2018] Installing alias to '/root/.tcshrc'
[Thu Oct 18 16:05:29 CST 2018] Installing cron job
no crontab for root
no crontab for root
[Thu Oct 18 16:05:29 CST 2018] Good, bash is found, so change the shebang to use bash as preferred.
[Thu Oct 18 16:05:29 CST 2018] OK
Starting create SSL Certificate use Let's Encrypt...
[Thu Oct 18 16:05:30 CST 2018] Registering account
[Thu Oct 18 16:05:31 CST 2018] Registered
[Thu Oct 18 16:05:31 CST 2018] ACCOUNT_THUMBPRINT='ZGMoaZQVrYHgNbgHYjoq-8IUZmJ2iwZpfQn3Erq3Q5k'
[Thu Oct 18 16:05:31 CST 2018] Creating domain key
[Thu Oct 18 16:05:32 CST 2018] The domain key is here: /usr/local/nginx/conf/ssl/www.xxx.com/www.xxx.com.key
[Thu Oct 18 16:05:32 CST 2018] Multi domain='DNS:www.xxx.com,DNS:xxx.com'
[Thu Oct 18 16:05:32 CST 2018] Getting domain auth token for each domain
[Thu Oct 18 16:05:32 CST 2018] Getting webroot for domain='www.xxx.com'
[Thu Oct 18 16:05:32 CST 2018] Getting new-authz for domain='www.xxx.com'
[Thu Oct 18 16:05:32 CST 2018] The new-authz request is ok.
[Thu Oct 18 16:05:32 CST 2018] Getting webroot for domain='xxx.com'
[Thu Oct 18 16:05:32 CST 2018] Getting new-authz for domain='xxx.com'
[Thu Oct 18 16:05:34 CST 2018] The new-authz request is ok.
[Thu Oct 18 16:05:34 CST 2018] Verifying:www.xxx.com
[Thu Oct 18 16:05:37 CST 2018] Success
[Thu Oct 18 16:05:37 CST 2018] Verifying:xxx.com
[Thu Oct 18 16:05:40 CST 2018] Success
[Thu Oct 18 16:05:40 CST 2018] Verify finished, start to sign.
[Thu Oct 18 16:05:41 CST 2018] Cert success.
[Thu Oct 18 16:05:41 CST 2018] Your cert is in /usr/local/nginx/conf/ssl/www.xxx.com/www.xxx.com.cer
[Thu Oct 18 16:05:41 CST 2018] Your cert key is in /usr/local/nginx/conf/ssl/www.xxx.com/www.xxx.com.key
[Thu Oct 18 16:05:42 CST 2018] The intermediate CA cert is in /usr/local/nginx/conf/ssl/www.xxx.com/ca.cer
[Thu Oct 18 16:05:42 CST 2018] And the full chain certs is there: /usr/local/nginx/conf/ssl/www.xxx.com/fullchain.cer
[Thu Oct 18 16:05:42 CST 2018] Run reload cmd: /etc/init.d/nginx reload
Reload service nginx... done
[Thu Oct 18 16:05:42 CST 2018] 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: 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...... |
|