- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2018-8-1
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2018-8-1 20:18:10
|
显示全部楼层
原帖由 licess 于 2018-8-1 16:59 发表
发前面错误提示的acme.sh.log日志看一下
看一下linode后台上是否已经有了 _acme-challenge. 记录,有了的话先删掉
后台没有 _acme-challenge 这个记录。 验证失败后,acme都会自动将通过api建立的txt记录删除掉,也没有遗留。
日志下见方。(注:相关的key数据,我进行了混淆。)
[Wed Aug 1 00:31:29 CST 2018] _main_domain='yaobin.com'
[Wed Aug 1 00:31:29 CST 2018] _alt_domains='*.yaobin.com'
[Wed Aug 1 00:31:29 CST 2018] Using config home:/usr/local/acme.sh
[Wed Aug 1 00:31:29 CST 2018] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Wed Aug 1 00:31:29 CST 2018] DOMAIN_PATH='/usr/local/nginx/conf/ssl/yaobin.com'
[Wed Aug 1 00:31:29 CST 2018] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
[Wed Aug 1 00:31:29 CST 2018] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Wed Aug 1 00:31:29 CST 2018] GET
[Wed Aug 1 00:31:29 CST 2018] url='https://acme-v02.api.letsencrypt.org/directory'
[Wed Aug 1 00:31:29 CST 2018] timeout=
[Wed Aug 1 00:31:29 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header -g '
[Wed Aug 1 00:31:30 CST 2018] ret='0'
[Wed Aug 1 00:31:30 CST 2018] ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
[Wed Aug 1 00:31:30 CST 2018] ACME_NEW_AUTHZ
[Wed Aug 1 00:31:30 CST 2018] ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Wed Aug 1 00:31:30 CST 2018] ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
[Wed Aug 1 00:31:30 CST 2018] ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
[Wed Aug 1 00:31:30 CST 2018] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
[Wed Aug 1 00:31:30 CST 2018] ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
[Wed Aug 1 00:31:30 CST 2018] ACME_VERSION='2'
[Wed Aug 1 00:31:30 CST 2018] Le_NextRenewTime
[Wed Aug 1 00:31:30 CST 2018] _on_before_issue
[Wed Aug 1 00:31:30 CST 2018] _chk_main_domain='yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] _chk_alt_domains='*.yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] Le_LocalAddress
[Wed Aug 1 00:31:30 CST 2018] d='yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] Check for domain='yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] _currentRoot='dns_linode'
[Wed Aug 1 00:31:30 CST 2018] d='*.yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] Check for domain='*.yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] _currentRoot='dns_linode'
[Wed Aug 1 00:31:30 CST 2018] d
[Wed Aug 1 00:31:30 CST 2018] _saved_account_key_hash is not changed, skip register account.
[Wed Aug 1 00:31:30 CST 2018] Read key length:
[Wed Aug 1 00:31:30 CST 2018] _createcsr
[Wed Aug 1 00:31:30 CST 2018] Multi domain='DNS:yaobin.com,DNS:*.yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] Getting domain auth token for each domain
[Wed Aug 1 00:31:30 CST 2018] d='*.yaobin.com'
[Wed Aug 1 00:31:30 CST 2018] d
[Wed Aug 1 00:31:30 CST 2018] url='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Wed Aug 1 00:31:30 CST 2018] payload='{"identifiers": [{"type":"dns","value":"yaobin.com"},{"type":"dns","value":"*.yaobin.com"}]}'
[Wed Aug 1 00:31:30 CST 2018] RSA key
[Wed Aug 1 00:31:30 CST 2018] HEAD
[Wed Aug 1 00:31:30 CST 2018] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
[Wed Aug 1 00:31:30 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header -g '
[Wed Aug 1 00:31:30 CST 2018] _ret='0'
[Wed Aug 1 00:31:30 CST 2018] POST
[Wed Aug 1 00:31:30 CST 2018] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Wed Aug 1 00:31:30 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header -g '
[Wed Aug 1 00:31:31 CST 2018] _ret='0'
[Wed Aug 1 00:31:31 CST 2018] code='201'
[Wed Aug 1 00:31:31 CST 2018] Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/39358317/26253967'
[Wed Aug 1 00:31:31 CST 2018] GET
[Wed Aug 1 00:31:31 CST 2018] url='https://acme-v02.api.letsencrypt.org/acme/authz/-ZDOGxosgC2EHH9RVcn4Xbk3PEMW9LYwTtJc80aM1GM'
[Wed Aug 1 00:31:31 CST 2018] timeout=
[Wed Aug 1 00:31:31 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header -g '
[Wed Aug 1 00:31:31 CST 2018] ret='0'
[Wed Aug 1 00:31:31 CST 2018] GET
[Wed Aug 1 00:31:31 CST 2018] url='https://acme-v02.api.letsencrypt.org/acme/authz/9TIdf2dyY0CPOSrh1cneXusBJPuDmVKIXGKmf7hdt7k'
[Wed Aug 1 00:31:31 CST 2018] timeout=
[Wed Aug 1 00:31:31 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header -g '
[Wed Aug 1 00:31:31 CST 2018] ret='0'
[Wed Aug 1 00:31:31 CST 2018] d='yaobin.com'
[Wed Aug 1 00:31:31 CST 2018] Getting webroot for domain='yaobin.com'
[Wed Aug 1 00:31:31 CST 2018] _w='dns_linode'
[Wed Aug 1 00:31:31 CST 2018] _currentRoot='dns_linode'
[Wed Aug 1 00:31:31 CST 2018] entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/challenge/9TIdf2dyY0CPOSrh1cneXusBJPuDmVKIXGKmf7hdt7k/6078679443","token":"Yu_-wnOTpalrwxxx_QaU5mlADxTN2FSdohmJEn3Tvkk"'
[Wed Aug 1 00:31:31 CST 2018] token='Yu_-wnOTpalrwxxx_QaU5mlADxTN2FSdohmJEn3Tvkk'
[Wed Aug 1 00:31:31 CST 2018] uri='https://acme-v02.api.letsencrypt.org/acme/challenge/9TIdf2dyY0CPOSrh1cneXusBJPuDmVKIXGKmf7hdt7k/6078679443'
[Wed Aug 1 00:31:31 CST 2018] keyauthorization='Yu_-wnOTpalrwxxx_QaU5mlADxTN2FSdohmJEn3Tvkk.YqW3S_O-0qqNnc8DOoudRWA1iWt8j7hdfhqGyuwgH0c'
[Wed Aug 1 00:31:31 CST 2018] dvlist='yaobin.com#Yu_-wnOTpalrwxxx_QaU5mlADxTN2FSdohmJEn3Tvkk.YqW3S_O-0qqNnc8DOoudRWA1iWt8j7hdfhqGyuwgH0c#https://acme-v02.api.letsencrypt.org/acme/challenge/9TIdf2dyY0CPOSrh1cneXusBJPuDmVKIXGKmf7hdt7k/6078679443#dns-01#dns_linode'
[Wed Aug 1 00:31:31 CST 2018] d='*.yaobin.com'
[Wed Aug 1 00:31:31 CST 2018] Getting webroot for domain='*.yaobin.com'
[Wed Aug 1 00:31:31 CST 2018] _w='dns_linode'
[Wed Aug 1 00:31:31 CST 2018] _currentRoot='dns_linode'
[Wed Aug 1 00:31:31 CST 2018] entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/challenge/-ZDOGxosgC2EHH9RVcn4Xbk3PEMW9LYwTtJc80aM1GM/6078679440","token":"CUWr6AQSMJb6dIR4C_aFVnBUDqc3iYmTPq5xQTT_4SU"'
[Wed Aug 1 00:31:31 CST 2018] token='CUWr6AQSMJb6dIR4C_aFVnBUDqc3iYmTPq5xQTT_4SU'
[Wed Aug 1 00:31:31 CST 2018] uri='https://acme-v02.api.letsencrypt.org/acme/challenge/-ZDOGxosgC2EHH9RVcn4Xbk3PEMW9LYwTtJc80aM1GM/6078679440'
[Wed Aug 1 00:31:31 CST 2018] keyauthorization='CUWr6AQSMJb6dIR4C_aFVnBUDqc3iYmTPq5xQTT_4SU.YqW3S_O-0qqNnc8DOoudRWA1iWt8j7hdfhqGyuwgH0c'
[Wed Aug 1 00:31:31 CST 2018] dvlist='*.yaobin.com#CUWr6AQSMJb6dIR4C_aFVnBUDqc3iYmTPq5xQTT_4SU.YqW3S_O-0qqNnc8DOoudRWA1iWt8j7hdfhqGyuwgH0c#https://acme-v02.api.letsencrypt.org/acme/challenge/-ZDOGxosgC2EHH9RVcn4Xbk3PEMW9LYwTtJc80aM1GM/6078679440#dns-01#dns_linode'
[Wed Aug 1 00:31:31 CST 2018] d
[Wed Aug 1 00:31:31 CST 2018] vlist='yaobin.com#Yu_-wnOTpalrwxxx_QaU5mlADxTN2FSdohmJEn3Tvkk.YqW3S_O-0qqNnc8DOoudRWA1iWt8j7hdfhqGyuwgH0c#https://acme-v02.api.letsencrypt.org/acme/challenge/9TIdf2dyY0CPOSrh1cneXusBJPuDmVKIXGKmf7hdt7k/6078679443#dns-01#dns_linode,*.yaobin.com#CUWr6AQSMJb6dIR4C_aFVnBUDqc3iYmTPq5xQTT_4SU.YqW3S_O-0qqNnc8DOoudRWA1iWt8j7hdfhqGyuwgH0c#https://acme-v02.api.letsencrypt.org/acme/challenge/-ZDOGxosgC2EHH9RVcn4Xbk3PEMW9LYwTtJc80aM1GM/6078679440#dns-01#dns_linode,'
[Wed Aug 1 00:31:31 CST 2018] d='yaobin.com'
[Wed Aug 1 00:31:32 CST 2018] _d_alias
[Wed Aug 1 00:31:32 CST 2018] txtdomain='_acme-challenge.yaobin.com'
[Wed Aug 1 00:31:32 CST 2018] txt='TRFMXFVTyXtoux3Yww8YjHBYyN5421xg48etqIb971A'
[Wed Aug 1 00:31:32 CST 2018] d_api='/usr/local/acme.sh/dnsapi/dns_linode.sh'
[Wed Aug 1 00:31:32 CST 2018] Found domain api file: /usr/local/acme.sh/dnsapi/dns_linode.sh
[Wed Aug 1 00:31:32 CST 2018] Using Linode
[Wed Aug 1 00:31:32 CST 2018] Calling: dns_linode_add() '_acme-challenge.yaobin.com' 'TRFMXFVTyXtoux3Yww8YjHBYyN5421xg48etqIb971A'
[Wed Aug 1 00:31:32 CST 2018] First detect the root zone
[Wed Aug 1 00:31:32 CST 2018] mtd='GET'
[Wed Aug 1 00:31:32 CST 2018] ep='domain.list'
[Wed Aug 1 00:31:32 CST 2018] GET
[Wed Aug 1 00:31:32 CST 2018] url='https://api.linode.com/?api_key=Pqd2wdqWHOZJLi3EgVs12rGnBjYP7o9ndZXsVtCDazMLR1adlecL1aMMpNPA1qSG&api_action=domain.list'
[Wed Aug 1 00:31:32 CST 2018] timeout=
[Wed Aug 1 00:31:32 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header -g '
[Wed Aug 1 00:31:32 CST 2018] ret='0'
[Wed Aug 1 00:31:32 CST 2018] h='yaobin.com'
[Wed Aug 1 00:31:32 CST 2018] _domain_id='1099632'
[Wed Aug 1 00:31:32 CST 2018] _sub_domain='_acme-challenge'
[Wed Aug 1 00:31:32 CST 2018] _domain='yaobin.com'
[Wed Aug 1 00:31:32 CST 2018] mtd='GET'
[Wed Aug 1 00:31:32 CST 2018] ep='domain.resource.create'
[Wed Aug 1 00:31:32 CST 2018] GET
[Wed Aug 1 00:31:32 CST 2018] url='https://api.linode.com/?api_key=Pqd2wdqWHOZJLi3EgVs12rGnBjYP7o9ndZXsVtCDazMLR1adlecL1aMMpNPA1qSG&api_action=domain.resource.create&DomainID=1099632&Type=TXT&Name=_acme-challenge&Target=TRFMXFVTyXtoux3Yww8YjHBYyN5421xg48etqIb971A' |
|