lnmp1.5,已存在虚拟主机添加ssl证书开启https没要我输入邮箱,正常吗?
1、我选择2,开始安装Let's Encrypt SSL,没要我输入邮箱,直接自动运行并成功完成,最下面附上我保存的整个记录,其中域名改成了xxx.com2、自动更新我通过命令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)
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
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
Starting create SSL Certificate use Let's Encrypt...
Registering account
Registered
ACCOUNT_THUMBPRINT='ZGMoaZQVrYHgNbgHYjoq-8IUZmJ2iwZpfQn3Erq3Q5k'
Creating domain key
The domain key is here: /usr/local/nginx/conf/ssl/www.xxx.com/www.xxx.com.key
Multi domain='DNS:www.xxx.com,DNS:xxx.com'
Getting domain auth token for each domain
Getting webroot for domain='www.xxx.com'
Getting new-authz for domain='www.xxx.com'
The new-authz request is ok.
Getting webroot for domain='xxx.com'
Getting new-authz for domain='xxx.com'
The new-authz request is ok.
Verifying:www.xxx.com
Success
Verifying:xxx.com
Success
Verify finished, start to sign.
Cert success.
Your cert is in/usr/local/nginx/conf/ssl/www.xxx.com/www.xxx.com.cer
Your cert key is in/usr/local/nginx/conf/ssl/www.xxx.com/www.xxx.com.key
The intermediate CA cert is in/usr/local/nginx/conf/ssl/www.xxx.com/ca.cer
And the full chain certs is there:/usr/local/nginx/conf/ssl/www.xxx.com/fullchain.cer
Run reload cmd: /etc/init.d/nginx reload
Reload service nginx...done
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...... 正常,1.5上不需要 原帖由 licess 于 2018-10-19 14:44 发表 http://bbs.vpser.net/images/common/back.gif
正常,1.5上不需要 好的,谢谢军哥!
页:
[1]