{"action":"created","issue":{"url":"https://api.github.com/repos/cheald/manticore/issues/21","labels_url":"https://api.github.com/repos/cheald/manticore/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/cheald/manticore/issues/21/comments","events_url":"https://api.github.com/repos/cheald/manticore/issues/21/events","html_url":"https://github.com/cheald/manticore/pull/21","id":91885811,"number":21,"title":"Fix example for truststore to use correct option.","user":{"login":"andrewvc","id":131427,"avatar_url":"https://avatars.githubusercontent.com/u/131427?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewvc","html_url":"https://github.com/andrewvc","followers_url":"https://api.github.com/users/andrewvc/followers","following_url":"https://api.github.com/users/andrewvc/following{/other_user}","gists_url":"https://api.github.com/users/andrewvc/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewvc/subscriptions","organizations_url":"https://api.github.com/users/andrewvc/orgs","repos_url":"https://api.github.com/users/andrewvc/repos","events_url":"https://api.github.com/users/andrewvc/events{/privacy}","received_events_url":"https://api.github.com/users/andrewvc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-29T19:21:14Z","updated_at":"2015-06-29T19:31:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cheald/manticore/pulls/21","html_url":"https://github.com/cheald/manticore/pull/21","diff_url":"https://github.com/cheald/manticore/pull/21.diff","patch_url":"https://github.com/cheald/manticore/pull/21.patch"},"body":"Also add `ca_file` example\r\n\r\nThis really confused me till I dug into the source."},"comment":{"url":"https://api.github.com/repos/cheald/manticore/issues/comments/116809670","html_url":"https://github.com/cheald/manticore/pull/21#issuecomment-116809670","issue_url":"https://api.github.com/repos/cheald/manticore/issues/21","id":116809670,"user":{"login":"cheald","id":9830,"avatar_url":"https://avatars.githubusercontent.com/u/9830?v=3","gravatar_id":"","url":"https://api.github.com/users/cheald","html_url":"https://github.com/cheald","followers_url":"https://api.github.com/users/cheald/followers","following_url":"https://api.github.com/users/cheald/following{/other_user}","gists_url":"https://api.github.com/users/cheald/gists{/gist_id}","starred_url":"https://api.github.com/users/cheald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheald/subscriptions","organizations_url":"https://api.github.com/users/cheald/orgs","repos_url":"https://api.github.com/users/cheald/repos","events_url":"https://api.github.com/users/cheald/events{/privacy}","received_events_url":"https://api.github.com/users/cheald/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T19:31:34Z","updated_at":"2015-06-29T19:31:34Z","body":"Oh, whoops, no, you're right. ca_store is the OpenSSL-compatible replacement for Java's truststore shenannigans. I think the best way to do that then would be to have two declarations there, one commented, like:\r\n\r\n    # With an OpenSSL CA store\r\n    proxied_backend_client = Manticore::Client.new proxy: \"https://backend.internal:4242\", ssl: {ca_file: \"my_certs.pem\"}\r\n    # Or with a .jsk truststore\r\n    # proxied_backend_client = Manticore::Client.new proxy: \"https://backend.internal:4242\", ssl: {truststore: \"./truststore.jks\", truststore_password: \"s3cr3t\"}\r\n\r\nI'm glad to hear that you're finding it useful! We're big ES users, and have been really pleased with Manticore's performance WRT Elasticsearch in our stuff, as well. :)\r\n"}}