{"action":"created","issue":{"url":"https://api.github.com/repos/Neilpang/acme.sh/issues/399","repository_url":"https://api.github.com/repos/Neilpang/acme.sh","labels_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/399/comments","events_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/399/events","html_url":"https://github.com/Neilpang/acme.sh/issues/399","id":190057616,"number":399,"title":"acme.sh --issue --dns -d one -d two only prints one TXT record","user":{"login":"jerel","id":322706,"avatar_url":"https://avatars.githubusercontent.com/u/322706?v=3","gravatar_id":"","url":"https://api.github.com/users/jerel","html_url":"https://github.com/jerel","followers_url":"https://api.github.com/users/jerel/followers","following_url":"https://api.github.com/users/jerel/following{/other_user}","gists_url":"https://api.github.com/users/jerel/gists{/gist_id}","starred_url":"https://api.github.com/users/jerel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerel/subscriptions","organizations_url":"https://api.github.com/users/jerel/orgs","repos_url":"https://api.github.com/users/jerel/repos","events_url":"https://api.github.com/users/jerel/events{/privacy}","received_events_url":"https://api.github.com/users/jerel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-17T14:11:29Z","updated_at":"2016-11-17T14:33:49Z","closed_at":"2016-11-17T14:33:49Z","body":"Using the latest acme.sh (installed last night) I'm unable to issue both a www and a bare domain name using manual DNS verification. The first domain succeeds just fine but the second gives `Verify error:Count not connect to www.example.com`\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```\r\nacme.sh --issue --dns -d example.com -d www.example.com -w /home/acme/example\r\n.com\r\n[Thu Nov 17 07:52:31 CST 2016] Registering account\r\n[Thu Nov 17 07:52:32 CST 2016] Registered\r\n[Thu Nov 17 07:52:32 CST 2016] Update success.\r\n[Thu Nov 17 07:52:32 CST 2016] Creating domain key\r\n[Thu Nov 17 07:52:32 CST 2016] Multi domain='DNS:www.example.com'\r\n[Thu Nov 17 07:52:32 CST 2016] Getting domain auth token for each domain\r\n[Thu Nov 17 07:52:32 CST 2016] Getting webroot for domain='example.com'\r\n[Thu Nov 17 07:52:32 CST 2016] _w='dns'\r\n[Thu Nov 17 07:52:32 CST 2016] Getting new-authz for domain='example.com'\r\n[Thu Nov 17 07:52:33 CST 2016] The new-authz request is ok.\r\n[Thu Nov 17 07:52:33 CST 2016] Getting webroot for domain='www.example.com'\r\n[Thu Nov 17 07:52:33 CST 2016] _w='/home/acme/example.com'\r\n[Thu Nov 17 07:52:33 CST 2016] Getting new-authz for domain='www.example.com'\r\n[Thu Nov 17 07:52:34 CST 2016] The new-authz request is ok.\r\n[Thu Nov 17 07:52:34 CST 2016] Add the following TXT record:\r\n[Thu Nov 17 07:52:34 CST 2016] Domain: '_acme-challenge.example.com'\r\n[Thu Nov 17 07:52:34 CST 2016] TXT value: 'tYqVF0cb1d-*******************************'\r\n[Thu Nov 17 07:52:34 CST 2016] Please be aware that you prepend _acme-challenge. before your domain\r\n[Thu Nov 17 07:52:34 CST 2016] so the resulting subdomain will be: _acme-challenge.example.com\r\n[Thu Nov 17 07:52:34 CST 2016] Please add the TXT records to the domains, and retry again.\r\n[Thu Nov 17 07:52:34 CST 2016] Please add '--debug' or '--log' to check more details.\r\n[Thu Nov 17 07:52:34 CST 2016] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh\r\n```\r\n\r\nthen after verifying the DNS with dig I follow with this command:\r\n\r\n```\r\nacme.sh --renew -d example.com\r\n[Thu Nov 17 07:54:41 CST 2016] Renew: 'example.com'\r\n[Thu Nov 17 07:54:41 CST 2016] Multi domain='DNS:www.example.com'\r\n[Thu Nov 17 07:54:41 CST 2016] Getting domain auth token for each domain\r\n[Thu Nov 17 07:54:41 CST 2016] Verifying:example.com\r\n[Thu Nov 17 07:54:47 CST 2016] Success\r\n[Thu Nov 17 07:54:47 CST 2016] Verifying:www.example.com\r\n[Thu Nov 17 07:54:50 CST 2016] Pending\r\n[Thu Nov 17 07:54:52 CST 2016] Pending\r\n[Thu Nov 17 07:54:55 CST 2016] www.example.com:Verify error:Could not connect to www.example.com\r\n[Thu Nov 17 07:54:55 CST 2016] Please add '--debug' or '--log' to check more details.\r\n[Thu Nov 17 07:54:55 CST 2016] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh\r\n```\r\n\r\nNow, it seems that the first command should output two TXT records, one for the bare domain and one for www but only ever outputs one. I tried adding the one TXT record that it did output to both _acme-challenge.example.com and _acme-challenge.www.example.com and that fails also. (I have www.example.com CNAME'd to the primary, example.com).\r\n\r\nAm I doing something wrong? If it's a possible bug I can run again with --debug but I've been messing with this for a while and am not sure what the rate limit is."},"comment":{"url":"https://api.github.com/repos/Neilpang/acme.sh/issues/comments/261261638","html_url":"https://github.com/Neilpang/acme.sh/issues/399#issuecomment-261261638","issue_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/399","id":261261638,"user":{"login":"Neilpang","id":8305679,"avatar_url":"https://avatars.githubusercontent.com/u/8305679?v=3","gravatar_id":"","url":"https://api.github.com/users/Neilpang","html_url":"https://github.com/Neilpang","followers_url":"https://api.github.com/users/Neilpang/followers","following_url":"https://api.github.com/users/Neilpang/following{/other_user}","gists_url":"https://api.github.com/users/Neilpang/gists{/gist_id}","starred_url":"https://api.github.com/users/Neilpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neilpang/subscriptions","organizations_url":"https://api.github.com/users/Neilpang/orgs","repos_url":"https://api.github.com/users/Neilpang/repos","events_url":"https://api.github.com/users/Neilpang/events{/privacy}","received_events_url":"https://api.github.com/users/Neilpang/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T14:33:49Z","updated_at":"2016-11-17T14:33:49Z","body":"https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert#3-multiple-domains-san-mode--hybrid-mode"}}
{"actor":{"display_login":"Neilpang"}}