VPS侦探论坛

 找回密码
 注册
查看: 4097|回复: 7

Let'sEncrypt 免费通配符/泛域名SSL证书 不成功

[复制链接]
发表于 2018-4-2 07:59:40 | 显示全部楼层 |阅读模式

设置的了好几遍都通不过去,执行了
export Namesilo_Key="8的730dd38b"

运行这个lnmp dnsssl namesilo
总是配置不成功。

Starting create SSL Certificate use Let's Encrypt...
[Sun Apr  1 19:54:08 EDT 2018] Multi domain='DNS:www.yoyomay.com,DNS:yoyomay.com'
[Sun Apr  1 19:54:08 EDT 2018] Getting domain auth token for each domain
[Sun Apr  1 19:54:08 EDT 2018] Getting webroot for domain='www.yoyomay.com'
[Sun Apr  1 19:54:08 EDT 2018] Getting new-authz for domain='www.yoyomay.com'
[Sun Apr  1 19:54:09 EDT 2018] The new-authz request is ok.
[Sun Apr  1 19:54:09 EDT 2018] Getting webroot for domain='yoyomay.com'
[Sun Apr  1 19:54:09 EDT 2018] Getting new-authz for domain='yoyomay.com'
[Sun Apr  1 19:54:10 EDT 2018] The new-authz request is ok.
[Sun Apr  1 19:54:10 EDT 2018] Found domain api file: /usr/local/acme.sh/dnsapi/dns_namesilo.sh
[Sun Apr  1 19:54:11 EDT 2018] Unable to find domain specified.
[Sun Apr  1 19:54:11 EDT 2018] Error add txt for domain:_acme-challenge.www.yoyomay.com
[Sun Apr  1 19:54:11 EDT 2018] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-4-2 09:12:16 | 显示全部楼层


Unable to find domain specified. 按提示是找不到你填写的域名,可以发完整的 /usr/local/acme.sh/acme.sh.log 看一下具体内容
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-4-2 11:19:33 | 显示全部楼层

回复 2# 的帖子


[Sun Apr  1 15:45:34 EDT 2018] Using config home:/usr/local/acme.sh
[Sun Apr  1 15:45:34 EDT 2018] DOMAIN_PATH='/usr/local/nginx/conf/ssl/www.yoyomay.com'
[Sun Apr  1 15:45:34 EDT 2018] Using ACME_DIRECTORY: https://acme-v01.api.letsencrypt.org/directory
[Sun Apr  1 15:45:34 EDT 2018] _init api for server: https://acme-v01.api.letsencrypt.org/directory
[Sun Apr  1 15:45:34 EDT 2018] GET
[Sun Apr  1 15:45:34 EDT 2018] url='https://acme-v01.api.letsencrypt.org/directory'
[Sun Apr  1 15:45:34 EDT 2018] timeout=
[Sun Apr  1 15:45:35 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Sun Apr  1 15:45:35 EDT 2018] ret='0'
[Sun Apr  1 15:45:35 EDT 2018] ACME_KEY_CHANGE='https://acme-v01.api.letsencrypt.org/acme/key-change'
[Sun Apr  1 15:45:35 EDT 2018] ACME_NEW_AUTHZ='https://acme-v01.api.letsencrypt.org/acme/new-authz'
[Sun Apr  1 15:45:35 EDT 2018] ACME_NEW_ORDER='https://acme-v01.api.letsencrypt.org/acme/new-cert'
[Sun Apr  1 15:45:35 EDT 2018] ACME_NEW_ACCOUNT='https://acme-v01.api.letsencrypt.org/acme/new-reg'
[Sun Apr  1 15:45:35 EDT 2018] ACME_REVOKE_CERT='https://acme-v01.api.letsencrypt.org/acme/revoke-cert'
[Sun Apr  1 15:45:35 EDT 2018] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
[Sun Apr  1 15:45:35 EDT 2018] ACME_NEW_NONCE
[Sun Apr  1 15:45:35 EDT 2018] ACME_VERSION
[Sun Apr  1 15:45:35 EDT 2018] _on_before_issue
[Sun Apr  1 15:45:35 EDT 2018] Le_LocalAddress
[Sun Apr  1 15:45:35 EDT 2018] Check for domain='www.yoyomay.com'
[Sun Apr  1 15:45:35 EDT 2018] _currentRoot='dns_namesilo'
[Sun Apr  1 15:45:35 EDT 2018] Check for domain='yoyomay.com'
[Sun Apr  1 15:45:35 EDT 2018] _currentRoot='dns_namesilo'
[Sun Apr  1 15:45:35 EDT 2018] config file is empty, can not read CA_KEY_HASH
[Sun Apr  1 15:45:35 EDT 2018] Using config home:/usr/local/acme.sh
[Sun Apr  1 15:45:35 EDT 2018] _init api for server: https://acme-v01.api.letsencrypt.org/directory
[Sun Apr  1 15:45:35 EDT 2018] Use default length 2048
[Sun Apr  1 15:45:35 EDT 2018] length='2048'
[Sun Apr  1 15:45:35 EDT 2018] Using config home:/usr/local/acme.sh
[Sun Apr  1 15:45:35 EDT 2018] Use length 2048
[Sun Apr  1 15:45:35 EDT 2018] Using RSA: 2048
[Sun Apr  1 15:45:35 EDT 2018] RSA key


在这里,请看看
是namesilo 的key编写的问题吗 ?

export Namesilo_Key="Key...."

[ 本帖最后由 SKYIDEA 于 2018-4-2 11:21 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-4-2 12:18:58 | 显示全部楼层

回复 3# 的帖子




这个日志不完整,看后面的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-4-2 12:36:09 | 显示全部楼层

回复 4# 的帖子


[Mon Apr  2 00:42:26 EDT 2018] Using config home:/usr/local/acme.sh
[Mon Apr  2 00:42:26 EDT 2018] DOMAIN_PATH='/usr/local/nginx/conf/ssl/www.yoyomay.com'
[Mon Apr  2 00:42:26 EDT 2018] Using ACME_DIRECTORY: https://acme-v01.api.letsencrypt.org/directory
[Mon Apr  2 00:42:26 EDT 2018] _init api for server: https://acme-v01.api.letsencrypt.org/directory
[Mon Apr  2 00:42:26 EDT 2018] GET
[Mon Apr  2 00:42:26 EDT 2018] url='https://acme-v01.api.letsencrypt.org/directory'
[Mon Apr  2 00:42:26 EDT 2018] timeout=
[Mon Apr  2 00:42:26 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:26 EDT 2018] ret='0'
[Mon Apr  2 00:42:26 EDT 2018] ACME_KEY_CHANGE='https://acme-v01.api.letsencrypt.org/acme/key-change'
[Mon Apr  2 00:42:26 EDT 2018] ACME_NEW_AUTHZ='https://acme-v01.api.letsencrypt.org/acme/new-authz'
[Mon Apr  2 00:42:26 EDT 2018] ACME_NEW_ORDER='https://acme-v01.api.letsencrypt.org/acme/new-cert'
[Mon Apr  2 00:42:26 EDT 2018] ACME_NEW_ACCOUNT='https://acme-v01.api.letsencrypt.org/acme/new-reg'
[Mon Apr  2 00:42:26 EDT 2018] ACME_REVOKE_CERT='https://acme-v01.api.letsencrypt.org/acme/revoke-cert'
[Mon Apr  2 00:42:26 EDT 2018] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
[Mon Apr  2 00:42:26 EDT 2018] ACME_NEW_NONCE
[Mon Apr  2 00:42:26 EDT 2018] ACME_VERSION
[Mon Apr  2 00:42:26 EDT 2018] Le_NextRenewTime
[Mon Apr  2 00:42:26 EDT 2018] _on_before_issue
[Mon Apr  2 00:42:26 EDT 2018] Le_LocalAddress
[Mon Apr  2 00:42:26 EDT 2018] Check for domain='www.yoyomay.com'
[Mon Apr  2 00:42:26 EDT 2018] _currentRoot='dns_namesilo'
[Mon Apr  2 00:42:26 EDT 2018] Check for domain='yoyomay.com'
[Mon Apr  2 00:42:26 EDT 2018] _currentRoot='dns_namesilo'
[Mon Apr  2 00:42:26 EDT 2018] _saved_account_key_hash is not changed, skip register account.
[Mon Apr  2 00:42:26 EDT 2018] Read key length:
[Mon Apr  2 00:42:26 EDT 2018] _createcsr
[Mon Apr  2 00:42:26 EDT 2018] Multi domain='DNS:www.yoyomay.com,DNS:yoyomay.com'
[Mon Apr  2 00:42:26 EDT 2018] Getting domain auth token for each domain
[Mon Apr  2 00:42:26 EDT 2018] Getting webroot for domain='www.yoyomay.com'
[Mon Apr  2 00:42:26 EDT 2018] _w='dns_namesilo'
[Mon Apr  2 00:42:26 EDT 2018] _currentRoot='dns_namesilo'
[Mon Apr  2 00:42:26 EDT 2018] Getting new-authz for domain='www.yoyomay.com'
[Mon Apr  2 00:42:26 EDT 2018] _init api for server: https://acme-v01.api.letsencrypt.org/directory
[Mon Apr  2 00:42:26 EDT 2018] Try new-authz for the 0 time.
[Mon Apr  2 00:42:26 EDT 2018] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'
[Mon Apr  2 00:42:26 EDT 2018] payload='{"resource": "new-authz", "identifier": {"type": "dns", "value": "www.yoyomay.com"}}'
[Mon Apr  2 00:42:26 EDT 2018] RSA key
[Mon Apr  2 00:42:26 EDT 2018] GET
[Mon Apr  2 00:42:26 EDT 2018] url='https://acme-v01.api.letsencrypt.org/directory'
[Mon Apr  2 00:42:26 EDT 2018] timeout=
[Mon Apr  2 00:42:26 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:26 EDT 2018] ret='0'
[Mon Apr  2 00:42:26 EDT 2018] POST
[Mon Apr  2 00:42:26 EDT 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/new-authz'
[Mon Apr  2 00:42:27 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:27 EDT 2018] _ret='0'
[Mon Apr  2 00:42:27 EDT 2018] code='201'
[Mon Apr  2 00:42:27 EDT 2018] The new-authz request is ok.
[Mon Apr  2 00:42:27 EDT 2018] entry='"type":"dns-01","status":"pending","uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/wa-xtRQAeJgYayNgJfadsJh1D9BaHMnksjaAOW8o7Ms/4055388845","token":"TbJJousGMLRUsvrDq2NV5S20E1GmBb_Ub-1HAtX6gZI"'
[Mon Apr  2 00:42:27 EDT 2018] token='TbJJousGMLRUsvrDq2NV5S20E1GmBb_Ub-1HAtX6gZI'
[Mon Apr  2 00:42:27 EDT 2018] uri='https://acme-v01.api.letsencrypt.org/acme/challenge/wa-xtRQAeJgYayNgJfadsJh1D9BaHMnksjaAOW8o7Ms/4055388845'
[Mon Apr  2 00:42:27 EDT 2018] keyauthorization='TbJJousGMLRUsvrDq2NV5S20E1GmBb_Ub-1HAtX6gZI.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw'
[Mon Apr  2 00:42:27 EDT 2018] dvlist='www.yoyomay.com#TbJJousGMLRUsvrDq2NV5S20E1GmBb_Ub-1HAtX6gZI.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw#https://acme-v01.api.letsencrypt.org/acme/challenge/wa-xtRQAeJgYayNgJfadsJh1D9BaHMnksjaAOW8o7Ms/4055388845#dns-01#dns_namesilo'
[Mon Apr  2 00:42:27 EDT 2018] Getting webroot for domain='yoyomay.com'
[Mon Apr  2 00:42:27 EDT 2018] _w='dns_namesilo'
[Mon Apr  2 00:42:27 EDT 2018] _currentRoot='dns_namesilo'
[Mon Apr  2 00:42:27 EDT 2018] Getting new-authz for domain='yoyomay.com'
[Mon Apr  2 00:42:27 EDT 2018] _init api for server: https://acme-v01.api.letsencrypt.org/directory
[Mon Apr  2 00:42:27 EDT 2018] Try new-authz for the 0 time.
[Mon Apr  2 00:42:27 EDT 2018] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'
[Mon Apr  2 00:42:27 EDT 2018] payload='{"resource": "new-authz", "identifier": {"type": "dns", "value": "yoyomay.com"}}'
[Mon Apr  2 00:42:27 EDT 2018] POST
[Mon Apr  2 00:42:27 EDT 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/new-authz'
[Mon Apr  2 00:42:27 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:28 EDT 2018] _ret='0'
[Mon Apr  2 00:42:28 EDT 2018] code='201'
[Mon Apr  2 00:42:28 EDT 2018] The new-authz request is ok.
[Mon Apr  2 00:42:28 EDT 2018] entry='"type":"dns-01","status":"pending","uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/p2E5dVy-ibI2PRcEaDNdAagKLtv-28XQt33qGUsCCTA/4055388933","token":"IUqSd_vGrxIsSZM1KQTQvdmx9cROzI1ZDIQfq42m2oc"'
[Mon Apr  2 00:42:28 EDT 2018] token='IUqSd_vGrxIsSZM1KQTQvdmx9cROzI1ZDIQfq42m2oc'
[Mon Apr  2 00:42:28 EDT 2018] uri='https://acme-v01.api.letsencrypt.org/acme/challenge/p2E5dVy-ibI2PRcEaDNdAagKLtv-28XQt33qGUsCCTA/4055388933'
[Mon Apr  2 00:42:28 EDT 2018] keyauthorization='IUqSd_vGrxIsSZM1KQTQvdmx9cROzI1ZDIQfq42m2oc.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw'
[Mon Apr  2 00:42:28 EDT 2018] dvlist='yoyomay.com#IUqSd_vGrxIsSZM1KQTQvdmx9cROzI1ZDIQfq42m2oc.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw#https://acme-v01.api.letsencrypt.org/acme/challenge/p2E5dVy-ibI2PRcEaDNdAagKLtv-28XQt33qGUsCCTA/4055388933#dns-01#dns_namesilo'
[Mon Apr  2 00:42:28 EDT 2018] vlist='www.yoyomay.com#TbJJousGMLRUsvrDq2NV5S20E1GmBb_Ub-1HAtX6gZI.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw#https://acme-v01.api.letsencrypt.org/acme/challenge/wa-xtRQAeJgYayNgJfadsJh1D9BaHMnksjaAOW8o7Ms/4055388845#dns-01#dns_namesilo,yoyomay.com#IUqSd_vGrxIsSZM1KQTQvdmx9cROzI1ZDIQfq42m2oc.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw#https://acme-v01.api.letsencrypt.org/acme/challenge/p2E5dVy-ibI2PRcEaDNdAagKLtv-28XQt33qGUsCCTA/4055388933#dns-01#dns_namesilo,'
[Mon Apr  2 00:42:28 EDT 2018] d='www.yoyomay.com'
[Mon Apr  2 00:42:28 EDT 2018] _d_alias
[Mon Apr  2 00:42:28 EDT 2018] txtdomain='_acme-challenge.www.yoyomay.com'
[Mon Apr  2 00:42:28 EDT 2018] txt='aGpm5JrWlhVmOa8jkWmVz-S3QVbAvssrOklVXtNEsDs'
[Mon Apr  2 00:42:28 EDT 2018] d_api='/usr/local/acme.sh/dnsapi/dns_namesilo.sh'
[Mon Apr  2 00:42:28 EDT 2018] Found domain api file: /usr/local/acme.sh/dnsapi/dns_namesilo.sh
[Mon Apr  2 00:42:28 EDT 2018] GET
[Mon Apr  2 00:42:28 EDT 2018] url='https://www.namesilo.com/api/listDomains?version=1&type=xml&key=a30fb8391491ea0cab6f****8'
[Mon Apr  2 00:42:28 EDT 2018] timeout=
[Mon Apr  2 00:42:28 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:28 EDT 2018] ret='0'
[Mon Apr  2 00:42:28 EDT 2018] host='www.yoyomay.com'
[Mon Apr  2 00:42:28 EDT 2018] host='yoyomay.com'
[Mon Apr  2 00:42:28 EDT 2018] Unable to find domain specified.
[Mon Apr  2 00:42:28 EDT 2018] Error add txt for domain:_acme-challenge.www.yoyomay.com
[Mon Apr  2 00:42:28 EDT 2018] pid
[Mon Apr  2 00:42:28 EDT 2018] No need to restore nginx, skip.
[Mon Apr  2 00:42:28 EDT 2018] _clearupdns
[Mon Apr  2 00:42:28 EDT 2018] skip dns.
[Mon Apr  2 00:42:28 EDT 2018] _on_issue_err
[Mon Apr  2 00:42:28 EDT 2018] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Mon Apr  2 00:42:28 EDT 2018] url='https://acme-v01.api.letsencrypt.org/acme/challenge/wa-xtRQAeJgYayNgJfadsJh1D9BaHMnksjaAOW8o7Ms/4055388845'
[Mon Apr  2 00:42:28 EDT 2018] payload='{"resource": "challenge", "keyAuthorization": "TbJJousGMLRUsvrDq2NV5S20E1GmBb_Ub-1HAtX6gZI.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw"}'
[Mon Apr  2 00:42:29 EDT 2018] POST
[Mon Apr  2 00:42:29 EDT 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/challenge/wa-xtRQAeJgYayNgJfadsJh1D9BaHMnksjaAOW8o7Ms/4055388845'
[Mon Apr  2 00:42:29 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:29 EDT 2018] _ret='0'
[Mon Apr  2 00:42:29 EDT 2018] code='202'
[Mon Apr  2 00:42:29 EDT 2018] url='https://acme-v01.api.letsencrypt.org/acme/challenge/p2E5dVy-ibI2PRcEaDNdAagKLtv-28XQt33qGUsCCTA/4055388933'
[Mon Apr  2 00:42:29 EDT 2018] payload='{"resource": "challenge", "keyAuthorization": "IUqSd_vGrxIsSZM1KQTQvdmx9cROzI1ZDIQfq42m2oc.gnwG22EdQL-s_f9cz1PGDXi84Z_Nnc5E2s3WbWc7Ppw"}'
[Mon Apr  2 00:42:29 EDT 2018] POST
[Mon Apr  2 00:42:29 EDT 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/challenge/p2E5dVy-ibI2PRcEaDNdAagKLtv-28XQt33qGUsCCTA/4055388933'
[Mon Apr  2 00:42:29 EDT 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Mon Apr  2 00:42:30 EDT 2018] _ret='0'
[Mon Apr  2 00:42:30 EDT 2018] code='202'
j前面的日志太长了,我清空了,重新生成的,请军哥帮忙看看。谢谢。

[ 本帖最后由 SKYIDEA 于 2018-4-2 12:44 编辑 ]

军哥运维代购:http://shop63846532.taobao.com/

发表于 2018-4-2 19:11:31 | 显示全部楼层

回复 5# 的帖子


不大清楚原因,按前面的提示是没找到域名,你先 /usr/local/acme.sh/acme.sh --upgrade 升级一下acme.sh,然后
你把不带www的域名在前面做第一个域名试试
发表于 2018-4-3 17:20:29 | 显示全部楼层

已被屏蔽。


已被屏蔽。

[ 本帖最后由 401773133 于 2018-5-14 20:48 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-4-3 18:30:28 | 显示全部楼层

回复 7# 的帖子


[root@vpser ~]# lnmp dnsssl cx
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
/usr/local/acme.sh/acme.sh [found]
Please enter domain(example: www.lnmp.org): p2.vpszt.com
Your domain: p2.vpszt.com
Enter more domain name(example: lnmp.org *.lnmp.org):   
Please enter the directory for domain p2.vpszt.com: /home/wwwroot/p2.vpszt.com
Allow Rewrite rule? (y/n)
You choose rewrite: none
Allow access log? (y/n)
Disable access log.
Enable PHP Pathinfo? (y/n)
Disable pathinfo.
Starting create SSL Certificate use Let's Encrypt...
[Tue Apr  3 18:17:10 CST 2018] Registering account
[Tue Apr  3 18:17:11 CST 2018] Registered
[Tue Apr  3 18:17:11 CST 2018] ACCOUNT_THUMBPRINT='r6xDfGgErzbSCvV7nekA_1zonrWQnJUoO38Sj5460mU'
[Tue Apr  3 18:17:11 CST 2018] Creating domain key
[Tue Apr  3 18:17:11 CST 2018] The domain key is here: /usr/local/nginx/conf/ssl/p2.vpszt.com/p2.vpszt.com.key
[Tue Apr  3 18:17:11 CST 2018] Single domain='p2.vpszt.com'
[Tue Apr  3 18:17:11 CST 2018] Getting domain auth token for each domain
[Tue Apr  3 18:17:11 CST 2018] Getting webroot for domain='p2.vpszt.com'
[Tue Apr  3 18:17:11 CST 2018] Getting new-authz for domain='p2.vpszt.com'
[Tue Apr  3 18:17:11 CST 2018] The new-authz request is ok.
[Tue Apr  3 18:17:11 CST 2018] Found domain api file: /usr/local/acme.sh/dnsapi/dns_cx.sh
[Tue Apr  3 18:17:13 CST 2018] Adding record
[Tue Apr  3 18:17:15 CST 2018] Sleep 120 seconds for the txt records to take effect
[Tue Apr  3 18:19:16 CST 2018] Verifying:p2.vpszt.com
[Tue Apr  3 18:19:19 CST 2018] Success
[Tue Apr  3 18:19:19 CST 2018] Removing DNS records.
[Tue Apr  3 18:19:22 CST 2018] Deleted record _acme-challenge.p2.vpszt.com
[Tue Apr  3 18:19:22 CST 2018] Verify finished, start to sign.
[Tue Apr  3 18:19:23 CST 2018] Cert success.
[Tue Apr  3 18:19:23 CST 2018] Your cert is in  /usr/local/nginx/conf/ssl/p2.vpszt.com/p2.vpszt.com.cer
[Tue Apr  3 18:19:23 CST 2018] Your cert key is in  /usr/local/nginx/conf/ssl/p2.vpszt.com/p2.vpszt.com.key
[Tue Apr  3 18:19:24 CST 2018] The intermediate CA cert is in  /usr/local/nginx/conf/ssl/p2.vpszt.com/ca.cer
[Tue Apr  3 18:19:24 CST 2018] And the full chain certs is there:  /usr/local/nginx/conf/ssl/p2.vpszt.com/fullchain.cer
[Tue Apr  3 18:19:24 CST 2018] Run reload cmd: /etc/init.d/nginx reload
Reload service nginx...  done
[Tue Apr  3 18:19:24 CST 2018] Reload success
Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/none.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......
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......
Let's Encrypt SSL Certificate create successfully.
[root@vpser ~]# lnmp dnsssl cx
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
/usr/local/acme.sh/acme.sh [found]
Please enter domain(example: www.lnmp.org): pzea.vpszt.com
Your domain: pzea.vpszt.com
Enter more domain name(example: lnmp.org *.lnmp.org): *.pzea.vpszt.com
domain list: *.pzea.vpszt.com
Please enter the directory for domain pzea.vpszt.com: /home/wwwroot/pzea.vpszt.com
Allow Rewrite rule? (y/n)
You choose rewrite: none
Allow access log? (y/n)
Disable access log.
Enable PHP Pathinfo? (y/n)
Disable pathinfo.
Starting create SSL Certificate use Let's Encrypt...
[Tue Apr  3 18:20:46 CST 2018] Registering account

[Tue Apr  3 18:20:46 CST 2018] Registered
[Tue Apr  3 18:20:46 CST 2018] ACCOUNT_THUMBPRINT='-BRzwkpQeISUY0H0T-NTwyxvzO2gE66wUt-6uZpZKGs'
[Tue Apr  3 18:20:46 CST 2018] Creating domain key
[Tue Apr  3 18:20:47 CST 2018] The domain key is here: /usr/local/nginx/conf/ssl/pzea.vpszt.com/pzea.vpszt.com.key
[Tue Apr  3 18:20:47 CST 2018] Multi domain='DNS:pzea.vpszt.com,DNS:*.pzea.vpszt.com'
[Tue Apr  3 18:20:47 CST 2018] Getting domain auth token for each domain
[Tue Apr  3 18:20:47 CST 2018] Getting webroot for domain='pzea.vpszt.com'
[Tue Apr  3 18:20:47 CST 2018] Getting webroot for domain='*.pzea.vpszt.com'
[Tue Apr  3 18:20:48 CST 2018] Found domain api file: /usr/local/acme.sh/dnsapi/dns_cx.sh
[Tue Apr  3 18:20:49 CST 2018] Adding record
[Tue Apr  3 18:20:50 CST 2018] Found domain api file: /usr/local/acme.sh/dnsapi/dns_cx.sh
[Tue Apr  3 18:20:51 CST 2018] Adding record
[Tue Apr  3 18:20:52 CST 2018] Sleep 120 seconds for the txt records to take effect
[Tue Apr  3 18:22:54 CST 2018] Verifying:pzea.vpszt.com
[Tue Apr  3 18:22:56 CST 2018] Success
[Tue Apr  3 18:22:56 CST 2018] Verifying:*.pzea.vpszt.com
[Tue Apr  3 18:22:59 CST 2018] Success
[Tue Apr  3 18:22:59 CST 2018] Removing DNS records.
[Tue Apr  3 18:23:07 CST 2018] Deleted record _acme-challenge.pzea.vpszt.com
[Tue Apr  3 18:23:10 CST 2018] Deleted record _acme-challenge.pzea.vpszt.com
[Tue Apr  3 18:23:10 CST 2018] Verify finished, start to sign.
[Tue Apr  3 18:23:11 CST 2018] Cert success.
[Tue Apr  3 18:23:11 CST 2018] Your cert is in  /usr/local/nginx/conf/ssl/pzea.vpszt.com/pzea.vpszt.com.cer
[Tue Apr  3 18:23:11 CST 2018] Your cert key is in  /usr/local/nginx/conf/ssl/pzea.vpszt.com/pzea.vpszt.com.key
[Tue Apr  3 18:23:11 CST 2018] The intermediate CA cert is in  /usr/local/nginx/conf/ssl/pzea.vpszt.com/ca.cer
[Tue Apr  3 18:23:11 CST 2018] And the full chain certs is there:  /usr/local/nginx/conf/ssl/pzea.vpszt.com/fullchain.cer
[Tue Apr  3 18:23:11 CST 2018] Run reload cmd: /etc/init.d/nginx reload
Reload service nginx...  done
[Tue Apr  3 18:23:11 CST 2018] Reload success
Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/none.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......
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......
Let's Encrypt SSL Certificate create successfully.
新装2个环境测试看均没问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-19 01:47 , Processed in 0.028636 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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