{"action":"created","issue":{"url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/issues/59","labels_url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/issues/59/comments","events_url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/issues/59/events","html_url":"https://github.com/taskrabbit/elasticsearch-dump/issues/59","id":53633354,"number":59,"title":"Does not work with self-signed HTTPS certificates","user":{"login":"quasipedia","id":309045,"avatar_url":"https://avatars.githubusercontent.com/u/309045?v=3","gravatar_id":"","url":"https://api.github.com/users/quasipedia","html_url":"https://github.com/quasipedia","followers_url":"https://api.github.com/users/quasipedia/followers","following_url":"https://api.github.com/users/quasipedia/following{/other_user}","gists_url":"https://api.github.com/users/quasipedia/gists{/gist_id}","starred_url":"https://api.github.com/users/quasipedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quasipedia/subscriptions","organizations_url":"https://api.github.com/users/quasipedia/orgs","repos_url":"https://api.github.com/users/quasipedia/repos","events_url":"https://api.github.com/users/quasipedia/events{/privacy}","received_events_url":"https://api.github.com/users/quasipedia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/labels/Waiting%20On%20Poter","name":"Waiting On Poter","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-07T13:44:32Z","updated_at":"2015-04-17T05:47:28Z","closed_at":"2015-03-30T22:20:24Z","body":"I'm not sure if I am doing anything wrong, but it seems es-dump is not working with our setup, where ES is reachable via HTTPS through a self-signed certificate.\r\n\r\nFrom the console:\r\n\r\n```\r\n--- ~ » curl -XGET https://our-internal-server/_cat/indices | tail \r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100  5742  100  5742    0     0  10313      0 --:--:-- --:--:-- --:--:-- 10327\r\nyellow logstash-2014.09.30 5 1    9645 0 337.2mb 337.2mb \r\nyellow logstash-2014.12.14 5 1   51324 0  33.1mb  33.1mb \r\nyellow logstash-2014.11.02 5 1   16900 0  56.6mb  56.6mb \r\nyellow logstash-2015.01.06 5 1   47712 0  58.6mb  58.6mb \r\nyellow logstash-2014.12.13 5 1   31839 0  35.8mb  35.8mb \r\nyellow logstash-2014.11.14 5 1   34022 0    79mb    79mb \r\nyellow logstash-2015.01.01 5 1   27092 0  32.8mb  32.8mb \r\nyellow logstash-2014.10.20 5 1   13366 0  40.7mb  40.7mb \r\nyellow logstash-2014.10.12 5 1   31878 0   1.3gb   1.3gb \r\nyellow logstash-2014.11.04 5 1   13078 0  22.8mb  22.8mb \r\n```\r\n...which shows that the certificate works and indices are there. However:\r\n\r\n```\r\n--- ~ » .npm/elasticdump/0.7.7/package/bin/elasticdump --input='https://our-internal-server/kibana-int' --output=/tmp/my_index.json --type=data --debug\r\nWed, 07 Jan 2015 13:37:38 GMT | starting dump\r\nWed, 07 Jan 2015 13:37:38 GMT | SELF_SIGNED_CERT_IN_CHAIN\r\nWed, 07 Jan 2015 13:37:38 GMT | got 0 objects from source elasticsearch (offset: 0)\r\nWed, 07 Jan 2015 13:37:38 GMT | sent 0 objects to destination file, wrote 0\r\nWed, 07 Jan 2015 13:37:38 GMT | dump complete\r\n```\r\nI tried to explicitly specify the 443 port, to omit the `--type` and `--debug` parameters, to change the index, to specify `--all`, to set the output to `stdout`, and more...\r\n\r\n...but to no avail.  If I am doing something wrong, I'm missing what that is...\r\n\r\n[As visible from the command line, I am using v0.7.7, and I am running it on my local machine, a Fedora 21 64 bit installation]."},"comment":{"url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/issues/comments/93898374","html_url":"https://github.com/taskrabbit/elasticsearch-dump/issues/59#issuecomment-93898374","issue_url":"https://api.github.com/repos/taskrabbit/elasticsearch-dump/issues/59","id":93898374,"user":{"login":"letusfly85","id":1466545,"avatar_url":"https://avatars.githubusercontent.com/u/1466545?v=3","gravatar_id":"","url":"https://api.github.com/users/letusfly85","html_url":"https://github.com/letusfly85","followers_url":"https://api.github.com/users/letusfly85/followers","following_url":"https://api.github.com/users/letusfly85/following{/other_user}","gists_url":"https://api.github.com/users/letusfly85/gists{/gist_id}","starred_url":"https://api.github.com/users/letusfly85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letusfly85/subscriptions","organizations_url":"https://api.github.com/users/letusfly85/orgs","repos_url":"https://api.github.com/users/letusfly85/repos","events_url":"https://api.github.com/users/letusfly85/events{/privacy}","received_events_url":"https://api.github.com/users/letusfly85/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T05:47:28Z","updated_at":"2015-04-17T05:47:28Z","body":"Is your example not a self-signed certificate???\r\n\r\n```\r\nhttp://production.es.com:9200/my_index\r\n```\r\n\r\nis not  self-signed certificate.\r\n\r\nin correctly, is below right?\r\n```\r\nhttps://production.es.com:9200/my_index\r\n```\r\n\r\n\r\nOn my machine,  self-signed certificate doesn't work yes...."}}