{"action":"created","issue":{"url":"https://api.github.com/repos/Neilpang/acme.sh/issues/491","repository_url":"https://api.github.com/repos/Neilpang/acme.sh","labels_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/491/comments","events_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/491/events","html_url":"https://github.com/Neilpang/acme.sh/issues/491","id":197623537,"number":491,"title":"无法签发证书，谢谢。","user":{"login":"xjdata","id":4524983,"avatar_url":"https://avatars.githubusercontent.com/u/4524983?v=3","gravatar_id":"","url":"https://api.github.com/users/xjdata","html_url":"https://github.com/xjdata","followers_url":"https://api.github.com/users/xjdata/followers","following_url":"https://api.github.com/users/xjdata/following{/other_user}","gists_url":"https://api.github.com/users/xjdata/gists{/gist_id}","starred_url":"https://api.github.com/users/xjdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xjdata/subscriptions","organizations_url":"https://api.github.com/users/xjdata/orgs","repos_url":"https://api.github.com/users/xjdata/repos","events_url":"https://api.github.com/users/xjdata/events{/privacy}","received_events_url":"https://api.github.com/users/xjdata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-26T22:21:21Z","updated_at":"2016-12-27T04:24:11Z","closed_at":null,"body":"命令如下\r\n```\r\n~/.acme.sh # export CX_Key=\"12344444\"\r\n~/.acme.sh # export CX_Secret=\"adsdsadasdasdasdas\"\r\n~/.acme.sh # ./acme.sh   --issue   --dns dns_cx   -d imxin.cn\r\n[Tue Dec 27 06:17:29 CST 2016] Single domain='imxin.cn'\r\n[Tue Dec 27 06:17:29 CST 2016] Getting domain auth token for each domain\r\n[Tue Dec 27 06:17:29 CST 2016] Getting webroot for domain='imxin.cn'\r\n[Tue Dec 27 06:17:29 CST 2016] _w='dns_cx'\r\n[Tue Dec 27 06:17:29 CST 2016] Getting new-authz for domain='imxin.cn'\r\n[Tue Dec 27 06:17:31 CST 2016] The new-authz request is ok.\r\n[Tue Dec 27 06:17:31 CST 2016] Found domain api file: /root/.acme.sh/dnsapi/dns_cx.sh\r\n[Tue Dec 27 06:17:32 CST 2016] invalid domain\r\n[Tue Dec 27 06:17:32 CST 2016] Error add txt for domain:_acme-challenge.imxin.cn\r\n[Tue Dec 27 06:17:32 CST 2016] Please check log file for more details: /root/.acme.sh/acme.sh.log\r\n```\r\n\r\n```\r\n~/.acme.sh/dnsapi # ./dns_cx.sh\r\n~/.acme.sh/dnsapi # which dns_cx_add && echo ok || echo bad\r\nbad\r\n```\r\n\r\n日志如下。\r\n```\r\n[Tue Dec 27 06:17:29 CST 2016] _currentRoot='dns_cx'\r\n[Tue Dec 27 06:17:29 CST 2016] Getting new-authz for domain='imxin.cn'\r\n[Tue Dec 27 06:17:29 CST 2016] Try new-authz for the 0 time.\r\n[Tue Dec 27 06:17:29 CST 2016] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'\r\n[Tue Dec 27 06:17:29 CST 2016] payload='{\"resource\": \"new-authz\", \"identifier\": {\"type\": \"dns\", \"value\": \"imxin.cn\"}}'\r\n[Tue Dec 27 06:17:29 CST 2016] RSA key\r\n[Tue Dec 27 06:17:29 CST 2016] GET\r\n[Tue Dec 27 06:17:29 CST 2016] url='https://acme-v01.api.letsencrypt.org/directory'\r\n[Tue Dec 27 06:17:29 CST 2016] timeout\r\n[Tue Dec 27 06:17:29 CST 2016] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header '\r\n[Tue Dec 27 06:17:30 CST 2016] ret='0'\r\n[Tue Dec 27 06:17:30 CST 2016] POST\r\n[Tue Dec 27 06:17:30 CST 2016] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'\r\n[Tue Dec 27 06:17:30 CST 2016] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header '\r\n[Tue Dec 27 06:17:31 CST 2016] _ret='0'\r\n[Tue Dec 27 06:17:31 CST 2016] code='201'\r\n[Tue Dec 27 06:17:31 CST 2016] The new-authz request is ok.\r\n[Tue Dec 27 06:17:31 CST 2016] entry='\"type\":\"dns-01\",\"status\":\"pending\",\"uri\":\"https://acme-v01.api.letsencrypt.org/acme/challenge/9bBn2Ox5BNFwX-eMwex0y35XSdE5a8I0VPrWeqf6g8E/4\r\n48118865\",\"token\":\"0RrQrta1C_P11bn_83QeQL5jvEiQ79TZCgowVResZfg\"'\r\n[Tue Dec 27 06:17:31 CST 2016] token='0RrQrta1C_P11bn_83QeQL5jvEiQ79TZCgowVResZfg'\r\n[Tue Dec 27 06:17:31 CST 2016] uri='https://acme-v01.api.letsencrypt.org/acme/challenge/9bBn2Ox5BNFwX-eMwex0y35XSdE5a8I0VPrWeqf6g8E/448118865'\r\n[Tue Dec 27 06:17:31 CST 2016] keyauthorization='0RrQrta1C_P11bn_83QeQL5jvEiQ79TZCgowVResZfg.mgwNfBLAbrrV02TV6dzw5G30jMofbBI4YWJObvPBOTw'\r\n[Tue Dec 27 06:17:31 CST 2016] dvlist='imxin.cn#0RrQrta1C_P11bn_83QeQL5jvEiQ79TZCgowVResZfg.mgwNfBLAbrrV02TV6dzw5G30jMofbBI4YWJObvPBOTw#https://acme-v01.api.letsencrypt.org/acme\r\n/challenge/9bBn2Ox5BNFwX-eMwex0y35XSdE5a8I0VPrWeqf6g8E/448118865#dns-01#dns_cx'\r\n[Tue Dec 27 06:17:31 CST 2016] txtdomain='_acme-challenge.imxin.cn'\r\n[Tue Dec 27 06:17:31 CST 2016] txt='UCBn7AVYslxPypLCU3bk8jDjBlkBB7mmKd1RxgPDzuw'\r\n[Tue Dec 27 06:17:31 CST 2016] d_api='/root/.acme.sh/dnsapi/dns_cx.sh'\r\n[Tue Dec 27 06:17:31 CST 2016] Found domain api file: /root/.acme.sh/dnsapi/dns_cx.sh\r\n[Tue Dec 27 06:17:31 CST 2016] First detect the root zone\r\n[Tue Dec 27 06:17:31 CST 2016] ep='domain'\r\n[Tue Dec 27 06:17:31 CST 2016] url='https://www.cloudxns.net/api2/domain'\r\n[Tue Dec 27 06:17:31 CST 2016] cdate='2016-12-26 22:17:31 UTC'\r\n[Tue Dec 27 06:17:31 CST 2016] data\r\n[Tue Dec 27 06:17:31 CST 2016] sec='90f84a3a5b794cdd8c2232a972801353https://www.cloudxns.net/api2/domain2016-12-26 22:17:31 UTCdbd5431859c415e6'\r\n[Tue Dec 27 06:17:31 CST 2016] hmac='bcf04d8e27640e473f372085354ffbd1'\r\n[Tue Dec 27 06:17:31 CST 2016] GET\r\n[Tue Dec 27 06:17:31 CST 2016] url='https://www.cloudxns.net/api2/domain'\r\n[Tue Dec 27 06:17:31 CST 2016] timeout\r\n[Tue Dec 27 06:17:31 CST 2016] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header '\r\n[Tue Dec 27 06:17:32 CST 2016] ret='0'\r\n[Tue Dec 27 06:17:32 CST 2016] h='imxin.cn'\r\n[Tue Dec 27 06:17:32 CST 2016] seg\r\n[Tue Dec 27 06:17:32 CST 2016] _domain_id\r\n[Tue Dec 27 06:17:32 CST 2016] invalid domain\r\n[Tue Dec 27 06:17:32 CST 2016] Error add txt for domain:_acme-challenge.imxin.cn\r\n[Tue Dec 27 06:17:32 CST 2016] pid\r\n[Tue Dec 27 06:17:32 CST 2016] _clearupdns\r\n[Tue Dec 27 06:17:32 CST 2016] Dns not added, skip.\r\n[Tue Dec 27 06:17:32 CST 2016] _on_issue_err\r\n[Tue Dec 27 06:17:32 CST 2016] Please check log file for more details: /root/.acme.sh/acme.sh.log\r\n```\r\n\r\n谢谢。"},"comment":{"url":"https://api.github.com/repos/Neilpang/acme.sh/issues/comments/269267784","html_url":"https://github.com/Neilpang/acme.sh/issues/491#issuecomment-269267784","issue_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/491","id":269267784,"user":{"login":"xjdata","id":4524983,"avatar_url":"https://avatars.githubusercontent.com/u/4524983?v=3","gravatar_id":"","url":"https://api.github.com/users/xjdata","html_url":"https://github.com/xjdata","followers_url":"https://api.github.com/users/xjdata/followers","following_url":"https://api.github.com/users/xjdata/following{/other_user}","gists_url":"https://api.github.com/users/xjdata/gists{/gist_id}","starred_url":"https://api.github.com/users/xjdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xjdata/subscriptions","organizations_url":"https://api.github.com/users/xjdata/orgs","repos_url":"https://api.github.com/users/xjdata/repos","events_url":"https://api.github.com/users/xjdata/events{/privacy}","received_events_url":"https://api.github.com/users/xjdata/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T04:24:11Z","updated_at":"2016-12-27T04:24:11Z","body":"@Neilpang  谢谢。我debug 2又跑了下。日志如下\r\n```\r\n/root/.acme.sh/acme.sh   --issue   -d imxin.cn  --dns dns_cx  --log  --debug 2\r\n\r\n[Tue Dec 27 12:18:01 CST 2016] Lets find script dir.\r\n[Tue Dec 27 12:18:01 CST 2016] _SCRIPT_='/root/.acme.sh/acme.sh'\r\n[Tue Dec 27 12:18:01 CST 2016] _script='/root/.acme.sh/acme.sh'\r\n[Tue Dec 27 12:18:01 CST 2016] _script_home='/root/.acme.sh'\r\n[Tue Dec 27 12:18:01 CST 2016] Using default home:/root/.acme.sh\r\n[Tue Dec 27 12:18:01 CST 2016] 8:LOG_FILE='/root/.acme.sh/acme.sh.log'\r\n[Tue Dec 27 12:18:01 CST 2016] LE_WORKING_DIR='/root/.acme.sh'\r\nhttps://github.com/Neilpang/acme.sh\r\nv2.6.5\r\n[Tue Dec 27 12:18:01 CST 2016] Using api:\r\n[Tue Dec 27 12:18:01 CST 2016] DOMAIN_PATH='/root/.acme.sh/imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] Le_NextRenewTime\r\n[Tue Dec 27 12:18:01 CST 2016] 1:Le_Domain='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] 2:Le_Alt='no'\r\n[Tue Dec 27 12:18:01 CST 2016] 3:Le_Webroot='dns_cx'\r\n[Tue Dec 27 12:18:01 CST 2016] 4:Le_PreHook=''\r\n[Tue Dec 27 12:18:01 CST 2016] 5:Le_PostHook=''\r\n[Tue Dec 27 12:18:01 CST 2016] 6:Le_RenewHook=''\r\n[Tue Dec 27 12:18:01 CST 2016] 7:Le_API='https://acme-v01.api.letsencrypt.org'\r\n[Tue Dec 27 12:18:01 CST 2016] _on_before_issue\r\n[Tue Dec 27 12:18:01 CST 2016] 'dns_cx' does not contain 'no'\r\n[Tue Dec 27 12:18:01 CST 2016] Le_LocalAddress\r\n[Tue Dec 27 12:18:01 CST 2016] Check for domain='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] _currentRoot='dns_cx'\r\n[Tue Dec 27 12:18:01 CST 2016] 'dns_cx' does not contain 'apache'\r\n[Tue Dec 27 12:18:01 CST 2016] _saved_account_key_hash='XGDEyw6Et19Vc23f6xPz3ZSjW0G15x9tEAoYzWf01wo='\r\n[Tue Dec 27 12:18:01 CST 2016] _saved_account_key_hash is not changed, skip register account.\r\n[Tue Dec 27 12:18:01 CST 2016] Read key length:\r\n[Tue Dec 27 12:18:01 CST 2016] _createcsr\r\n[Tue Dec 27 12:18:01 CST 2016] domain='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] domainlist\r\n[Tue Dec 27 12:18:01 CST 2016] csrkey='/root/.acme.sh/imxin.cn/imxin.cn.key'\r\n[Tue Dec 27 12:18:01 CST 2016] csr='/root/.acme.sh/imxin.cn/imxin.cn.csr'\r\n[Tue Dec 27 12:18:01 CST 2016] csrconf='/root/.acme.sh/imxin.cn/imxin.cn.csr.conf'\r\n[Tue Dec 27 12:18:01 CST 2016] Single domain='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] _is_idn_d='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] _idn_temp\r\n[Tue Dec 27 12:18:01 CST 2016] _csr_cn='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] 8:Le_Keylength=''\r\n[Tue Dec 27 12:18:01 CST 2016] Getting domain auth token for each domain\r\n[Tue Dec 27 12:18:01 CST 2016] Getting webroot for domain='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] _w='dns_cx'\r\n[Tue Dec 27 12:18:01 CST 2016] _currentRoot='dns_cx'\r\n[Tue Dec 27 12:18:01 CST 2016] Getting new-authz for domain='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] Try new-authz for the 0 time.\r\n[Tue Dec 27 12:18:01 CST 2016] _is_idn_d='imxin.cn'\r\n[Tue Dec 27 12:18:01 CST 2016] _idn_temp\r\n[Tue Dec 27 12:18:01 CST 2016] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'\r\n[Tue Dec 27 12:18:01 CST 2016] payload='{\"resource\": \"new-authz\", \"identifier\": {\"type\": \"dns\", \"value\": \"imxin.cn\"}}'\r\n[Tue Dec 27 12:18:01 CST 2016] RSA key\r\n[Tue Dec 27 12:18:01 CST 2016] Get nonce.\r\n[Tue Dec 27 12:18:01 CST 2016] GET\r\n[Tue Dec 27 12:18:01 CST 2016] url='https://acme-v01.api.letsencrypt.org/directory'\r\n[Tue Dec 27 12:18:01 CST 2016] timeout\r\n[Tue Dec 27 12:18:01 CST 2016] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  --trace-ascii /tmp/tmp.NhcpHh '\r\n[Tue Dec 27 12:18:03 CST 2016] ret='0'\r\n[Tue Dec 27 12:18:03 CST 2016] _headers='HTTP/1.1 200 OK\r\nServer: nginx\r\nContent-Type: application/json\r\nContent-Length: 352\r\nBoulder-Request-Id: 7KgWVmxwepZkdp0d-wpygLtRl6SUDZGX0Tev7yKRnGQ\r\nReplay-Nonce: HUy8nogxwPb3CfP5WgrfVepmuZxKdtvi3dgt8d0LIEE\r\nX-Frame-Options: DENY\r\nStrict-Transport-Security: max-age=604800\r\nExpires: Tue, 27 Dec 2016 04:18:03 GMT\r\nCache-Control: max-age=0, no-cache, no-store\r\nPragma: no-cache\r\nDate: Tue, 27 Dec 2016 04:18:03 GMT\r\nConnection: keep-alive\r\n'\r\n[Tue Dec 27 12:18:03 CST 2016] _CACHED_NONCE='HUy8nogxwPb3CfP5WgrfVepmuZxKdtvi3dgt8d0LIEE'\r\n[Tue Dec 27 12:18:03 CST 2016] nonce='HUy8nogxwPb3CfP5WgrfVepmuZxKdtvi3dgt8d0LIEE'\r\n[Tue Dec 27 12:18:03 CST 2016] POST\r\n[Tue Dec 27 12:18:03 CST 2016] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'\r\n[Tue Dec 27 12:18:03 CST 2016] body='{\"header\": {\"alg\": \"RS256\", \"jwk\": {\"e\": \"AQAB\", \"kty\": \"RSA\", \"n\": \"5hifr5bG4SpKh8NvjdCcZqO9CKcbhj5WAc541HD7E0NlGO-BMlW0VqvXUhE3RrbLrnHlwKF\r\nEsnyigOf-Wvubq7jTghOyRRr0CiQPhYqT7eAjnGOvKanCbqB_z7MIgan1sYI1AmQrfkReMhOzJ0JpBeGiOZnPzr6eQQ8tMtHPnxzun6_8zfDheG1bB9oSbIwbrLh9l_UQcdhRAuplV5fJeTdaWzP7kZAY-BdSH10FCqQHLBr7OyyY_w8S\r\nBOh3sJhDrweeoL5qec63pF1AhPi3Djrw3TwMdyVkrPBWzgt7BMl1vbqrUDViI5k-vwKcjJ33m4HJ00nsvA1LLLrbCrx8qw\"}}, \"protected\": \"eyJub25jZSI6ICJIVXk4bm9neHdQYjNDZlA1V2dyZlZlcG11WnhLZHR2aTNkZ3Q4\r\nZDBMSUVFIiwgImFsZyI6ICJSUzI1NiIsICJqd2siOiB7ImUiOiAiQVFBQiIsICJrdHkiOiAiUlNBIiwgIm4iOiAiNWhpZnI1Ykc0U3BLaDhOdmpkQ2NacU85Q0tjYmhqNVdBYzU0MUhEN0UwTmxHTy1CTWxXMFZxdlhVaEUzUnJiTHJuS\r\nGx3S0ZFc255aWdPZi1XdnVicTdqVGdoT3lSUnIwQ2lRUGhZcVQ3ZUFqbkdPdkthbkNicUJfejdNSWdhbjFzWUkxQW1RcmZrUmVNaE96SjBKcEJlR2lPWm5QenI2ZVFROHRNdEhQbnh6dW42Xzh6ZkRoZUcxYkI5b1NiSXdickxoOWxfVV\r\nFjZGhSQXVwbFY1ZkplVGRhV3pQN2taQVktQmRTSDEwRkNxUUhMQnI3T3l5WV93OFNCT2gzc0poRHJ3ZWVvTDVxZWM2M3BGMUFoUGkzRGpydzNUd01keVZrclBCV3pndDdCTWwxdmJxclVEVmlJNWstdndLY2pKMzNtNEhKMDBuc3ZBMUx\r\nMTHJiQ3J4OHF3In19\", \"payload\": \"eyJyZXNvdXJjZSI6ICJuZXctYXV0aHoiLCAiaWRlbnRpZmllciI6IHsidHlwZSI6ICJkbnMiLCAidmFsdWUiOiAiaW14aW4uY24ifX0\", \"signature\": \"TqRmrw7olNHiNBdTAEI6K35Hq\r\namhUaffUbxZ1lRBiCwTOLHK6rtrHOgqfJ7fOy4jHBc8h46SZ9jGuqwLJn3u_H9-t8oRD5CUjgF1gf8iXAi7gpElLB2ZEVs7Nr_i0-vB1VZl-ShyXffoLCpyHgco3bKkIJedKBBfNmBmk7PnONV2oUdl7FxSdavZg02KuDTQmOf0fc3vHq\r\np0yZOfZ4fULp1ijYs57wB9Htk73DzZ-2hkuo6nowaRBoFcGR6wpCyEiuXL5NTxoAc4Ft_3jrL27PwtyaJyMjTdyHoY8_7XFLb9vgPXvmjfolru5p1Mt1jTgpwc3mWo01nrwCmCCdnqvw\"}'\r\n[Tue Dec 27 12:18:03 CST 2016] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  --trace-ascii /tmp/tmp.hfFigb '\r\n[Tue Dec 27 12:18:06 CST 2016] _ret='0'\r\n[Tue Dec 27 12:18:06 CST 2016] original='{\r\n  \"identifier\": {\r\n    \"type\": \"dns\",\r\n    \"value\": \"imxin.cn\"\r\n  },\r\n  \"status\": \"pending\",\r\n  \"expires\": \"2017-01-03T04:18:06.164554913Z\",\r\n  \"challenges\": [\r\n    {\r\n      \"type\": \"http-01\",\r\n      \"status\": \"pending\",\r\n      \"uri\": \"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846450\",\r\n      \"token\": \"tyQ7QulRopLPB5KuXBhLWU3Zynbk3qwSkYeMIcLbsJo\"\r\n    },\r\n    {\r\n      \"type\": \"dns-01\",\r\n      \"status\": \"pending\",\r\n      \"uri\": \"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846451\",\r\n      \"token\": \"GPxlX2HMKv21lMVBoqb43x4uBvqX09ZbAY5TUz82XQc\"\r\n    },\r\n    {\r\n      \"type\": \"tls-sni-01\",\r\n      \"status\": \"pending\",\r\n      \"uri\": \"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846452\",\r\n      \"token\": \"aFOyzHsY1FpzOTSe8Gzh8EfMfatGczD-bn1VbyYfMoA\"\r\n    }\r\n  ],\r\n  \"combinations\": [\r\n    [\r\n      0\r\n    ],\r\n    [\r\n      2\r\n    ],\r\n    [\r\n      1\r\n    ]\r\n  ]\r\n}'\r\n[Tue Dec 27 12:18:06 CST 2016] responseHeaders='HTTP/1.1 100 Continue\r\nExpires: Tue, 27 Dec 2016 04:18:05 GMT\r\nCache-Control: max-age=0, no-cache, no-store\r\nPragma: no-cache\r\n\r\nHTTP/1.1 201 Created\r\nServer: nginx\r\nContent-Type: application/json\r\nContent-Length: 993\r\nBoulder-Request-Id: 8SKsmQPD1frdTQbN9D70GuZeROBAZiPY8PP2Z7WVhmw\r\nBoulder-Requester: 7770878\r\nLink: <https://acme-v01.api.letsencrypt.org/acme/new-cert>;rel=\"next\"\r\nLocation: https://acme-v01.api.letsencrypt.org/acme/authz/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c\r\nReplay-Nonce: 7VjvtuyDNiOWXbR5oZHerNLHEadgoCQ_hZKLDQkmXMU\r\nX-Frame-Options: DENY\r\nStrict-Transport-Security: max-age=604800\r\nExpires: Tue, 27 Dec 2016 04:18:06 GMT\r\nCache-Control: max-age=0, no-cache, no-store\r\nPragma: no-cache\r\nDate: Tue, 27 Dec 2016 04:18:06 GMT\r\nConnection: keep-alive\r\n'\r\n[Tue Dec 27 12:18:06 CST 2016] response='{\"identifier\":{\"type\":\"dns\",\"value\":\"imxin.cn\"},\"status\":\"pending\",\"expires\":\"2017-01-03T04:18:06.164554913Z\",\"challenges\":[{\"type\":\"htt\r\np-01\",\"status\":\"pending\",\"uri\":\"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846450\",\"token\":\"tyQ7QulRopLPB5KuXBhLWU3Zynbk3\r\nqwSkYeMIcLbsJo\"},{\"type\":\"dns-01\",\"status\":\"pending\",\"uri\":\"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846451\",\"token\":\"G\r\nPxlX2HMKv21lMVBoqb43x4uBvqX09ZbAY5TUz82XQc\"},{\"type\":\"tls-sni-01\",\"status\":\"pending\",\"uri\":\"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t\r\n6PyYNFT49c/448846452\",\"token\":\"aFOyzHsY1FpzOTSe8Gzh8EfMfatGczD-bn1VbyYfMoA\"}],\"combinations\":[[0],[2],[1]]}'\r\n[Tue Dec 27 12:18:06 CST 2016] code='201'\r\n[Tue Dec 27 12:18:06 CST 2016] The new-authz request is ok.\r\n[Tue Dec 27 12:18:06 CST 2016] entry='\"type\":\"dns-01\",\"status\":\"pending\",\"uri\":\"https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/4\r\n48846451\",\"token\":\"GPxlX2HMKv21lMVBoqb43x4uBvqX09ZbAY5TUz82XQc\"'\r\n[Tue Dec 27 12:18:06 CST 2016] token='GPxlX2HMKv21lMVBoqb43x4uBvqX09ZbAY5TUz82XQc'\r\n[Tue Dec 27 12:18:06 CST 2016] uri='https://acme-v01.api.letsencrypt.org/acme/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846451'\r\n[Tue Dec 27 12:18:06 CST 2016] keyauthorization='GPxlX2HMKv21lMVBoqb43x4uBvqX09ZbAY5TUz82XQc.nMq1sYLkhe_CdPg_PWSh-GQHSihOOv_pYrS44ELrXBI'\r\n[Tue Dec 27 12:18:06 CST 2016] dvlist='imxin.cn#GPxlX2HMKv21lMVBoqb43x4uBvqX09ZbAY5TUz82XQc.nMq1sYLkhe_CdPg_PWSh-GQHSihOOv_pYrS44ELrXBI#https://acme-v01.api.letsencrypt.org/acme\r\n/challenge/ThTIWZWqZC2sLT0pKb7AMZ9wlvWt1w-7t6PyYNFT49c/448846451#dns-01#dns_cx'\r\n[Tue Dec 27 12:18:06 CST 2016] txtdomain='_acme-challenge.imxin.cn'\r\n[Tue Dec 27 12:18:06 CST 2016] txt='-xszZA2uJ7aPLnyLLPOzRUwW0LTAj20vSVSbieiCxd8'\r\n[Tue Dec 27 12:18:06 CST 2016] d_api='/root/.acme.sh/dnsapi/dns_cx.sh'\r\n[Tue Dec 27 12:18:06 CST 2016] Found domain api file: /root/.acme.sh/dnsapi/dns_cx.sh\r\n[Tue Dec 27 12:18:06 CST 2016] 22:CX_Key='90f84a3a5b794cdd8c2232a972801353'\r\n[Tue Dec 27 12:18:06 CST 2016] 23:CX_Secret='dbd5431859c415e6'\r\n[Tue Dec 27 12:18:06 CST 2016] First detect the root zone\r\n[Tue Dec 27 12:18:06 CST 2016] ep='domain'\r\n[Tue Dec 27 12:18:06 CST 2016] url='https://www.cloudxns.net/api2/domain'\r\n[Tue Dec 27 12:18:06 CST 2016] cdate='2016-12-27 04:18:06 UTC'\r\n[Tue Dec 27 12:18:06 CST 2016] data\r\n[Tue Dec 27 12:18:06 CST 2016] sec='90f84a3a5b794cdd8c2232a972801353https://www.cloudxns.net/api2/domain2016-12-27 04:18:06 UTCdbd5431859c415e6'\r\n[Tue Dec 27 12:18:06 CST 2016] hmac='cc3398d34d8a79d61449d4902d651202'\r\n[Tue Dec 27 12:18:06 CST 2016] GET\r\n[Tue Dec 27 12:18:06 CST 2016] url='https://www.cloudxns.net/api2/domain'\r\n[Tue Dec 27 12:18:06 CST 2016] timeout\r\n[Tue Dec 27 12:18:06 CST 2016] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  --trace-ascii /tmp/tmp.jcjJJg '\r\n[Tue Dec 27 12:18:07 CST 2016] ret='0'\r\n[Tue Dec 27 12:18:07 CST 2016] response='{\"code\":1,\"message\":\"success\",\"total\":\"15\",\"data\":[{\"id\":\"322431\",\"domain\":\"imxin.cn.\",\"status\":\"o\r\nk\",\"level\":\"3\",\"take_over_status\":\"ok\",\"create_time\":\"2016-12-25 06:13:32\",\"update_time\":\"2016-12-27 05:51:42\",\"ttl\":\"600\"}]}'\r\n[Tue Dec 27 12:18:07 CST 2016] h='imxin.cn'\r\n[Tue Dec 27 12:18:07 CST 2016] seg\r\n[Tue Dec 27 12:18:07 CST 2016] _domain_id\r\n[Tue Dec 27 12:18:07 CST 2016] invalid domain\r\n[Tue Dec 27 12:18:07 CST 2016] Error add txt for domain:_acme-challenge.imxin.cn\r\n[Tue Dec 27 12:18:07 CST 2016] pid\r\n[Tue Dec 27 12:18:07 CST 2016] _clearupdns\r\n[Tue Dec 27 12:18:07 CST 2016] Dns not added, skip.\r\n[Tue Dec 27 12:18:07 CST 2016] _on_issue_err\r\n[Tue Dec 27 12:18:07 CST 2016] Please check log file for more details: /root/.acme.sh/acme.sh.log\r\n[Tue Dec 27 12:18:07 CST 2016] Diagnosis versions:\r\nopenssl:openssl\r\nOpenSSL 1.0.2j  26 Sep 2016\r\napache:\r\napache doesn't exists.\r\nnc:\r\nOpenBSD netcat (Debian patchlevel 4)\r\nusage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]\r\n          [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]\r\n          [-x proxy_address[:port]] [hostname] [port[s]]\r\n        Command Summary:\r\n                -4              Use IPv4\r\n                -6              Use IPv6\r\n                -D              Enable the debug socket option\r\n                -d              Detach from stdin\r\n                -h              This help text\r\n                -i secs         Delay interval for lines sent, ports scanned\r\n                -k              Keep inbound sockets open for multiple connects\r\n                -l              Listen mode, for inbound connects\r\n                -n              Suppress name/port resolutions\r\n                -P proxyuser    Username for proxy authentication\r\n                -p port         Specify local port for remote connects\r\n                -q secs         quit after EOF on stdin and delay of secs\r\n                -r              Randomize remote ports\r\n                -S              Enable the TCP MD5 signature option\r\n                -s addr         Local source address\r\n                -T ToS          Set IP Type of Service\r\n                -C              Send CRLF as line-ending\r\n                -t              Answer TELNET negotiation\r\n                -U              Use UNIX domain socket\r\n                -u              UDP mode\r\n                -v              Verbose\r\n                -w secs         Timeout for connects and final net reads\r\n                -X proto        Proxy protocol: \"4\", \"5\" (SOCKS) or \"connect\"\r\n                -x addr[:port]  Specify proxy address and port\r\n                -z              Zero-I/O mode [used for scanning]\r\n        Port numbers can be individual or ranges: lo-hi [inclusive]\r\n```"}}
{"actor":{"display_login":"xjdata"}}