VPS侦探论坛

 找回密码
 注册
查看: 2933|回复: 2

lnmp1.5,已存在虚拟主机添加ssl证书开启https没要我输入邮箱,正常吗?

[复制链接]
发表于 2018-10-19 13:29:36 | 显示全部楼层 |阅读模式

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......
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-10-19 14:44:45 | 显示全部楼层


正常,1.5上不需要
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-10-19 16:14:19 | 显示全部楼层

原帖由 licess 于 2018-10-19 14:44 发表
正常,1.5上不需要
好的,谢谢军哥!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 13:17 , Processed in 0.026353 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表