{"action":"created","issue":{"url":"https://api.github.com/repos/redsolution/xabber-android/issues/408","labels_url":"https://api.github.com/repos/redsolution/xabber-android/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/redsolution/xabber-android/issues/408/comments","events_url":"https://api.github.com/repos/redsolution/xabber-android/issues/408/events","html_url":"https://github.com/redsolution/xabber-android/pull/408","id":71119430,"number":408,"title":"Certificate handling in Xabber","user":{"login":"alexte","id":7724992,"avatar_url":"https://avatars.githubusercontent.com/u/7724992?v=3","gravatar_id":"","url":"https://api.github.com/users/alexte","html_url":"https://github.com/alexte","followers_url":"https://api.github.com/users/alexte/followers","following_url":"https://api.github.com/users/alexte/following{/other_user}","gists_url":"https://api.github.com/users/alexte/gists{/gist_id}","starred_url":"https://api.github.com/users/alexte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexte/subscriptions","organizations_url":"https://api.github.com/users/alexte/orgs","repos_url":"https://api.github.com/users/alexte/repos","events_url":"https://api.github.com/users/alexte/events{/privacy}","received_events_url":"https://api.github.com/users/alexte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-26T20:57:29Z","updated_at":"2015-04-27T05:30:31Z","closed_at":"2015-04-27T05:30:31Z","pull_request":{"url":"https://api.github.com/repos/redsolution/xabber-android/pulls/408","html_url":"https://github.com/redsolution/xabber-android/pull/408","diff_url":"https://github.com/redsolution/xabber-android/pull/408.diff","patch_url":"https://github.com/redsolution/xabber-android/pull/408.patch"},"body":"I had issues when connecting to servers with SAN certs. Xabber complained about wrong \r\ncertificates, but the cert seems correct. I read through your code and found the xabber \r\nis doing a checkClientTrusted on the server certificate. After changing this to checkServerTrusted, xabber accepted the cert correctly.\r\n\r\nI did a patch to the master branch because I could not compile the develop branch, and needed a production version of your xabber client for my phone. The develope branch seems to have the same issue."},"comment":{"url":"https://api.github.com/repos/redsolution/xabber-android/issues/comments/96512258","html_url":"https://github.com/redsolution/xabber-android/pull/408#issuecomment-96512258","issue_url":"https://api.github.com/repos/redsolution/xabber-android/issues/408","id":96512258,"user":{"login":"grigoryfedorov","id":6428909,"avatar_url":"https://avatars.githubusercontent.com/u/6428909?v=3","gravatar_id":"","url":"https://api.github.com/users/grigoryfedorov","html_url":"https://github.com/grigoryfedorov","followers_url":"https://api.github.com/users/grigoryfedorov/followers","following_url":"https://api.github.com/users/grigoryfedorov/following{/other_user}","gists_url":"https://api.github.com/users/grigoryfedorov/gists{/gist_id}","starred_url":"https://api.github.com/users/grigoryfedorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grigoryfedorov/subscriptions","organizations_url":"https://api.github.com/users/grigoryfedorov/orgs","repos_url":"https://api.github.com/users/grigoryfedorov/repos","events_url":"https://api.github.com/users/grigoryfedorov/events{/privacy}","received_events_url":"https://api.github.com/users/grigoryfedorov/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T05:30:31Z","updated_at":"2015-04-27T05:30:31Z","body":"Implemented in deafcfeda7d96c8161d64b14a1f049425a5e2e67\r\nThank you!"}}