{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/2964","labels_url":"https://api.github.com/repos/owncloud/client/issues/2964/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/2964/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/2964/events","html_url":"https://github.com/owncloud/client/issues/2964","id":61872967,"number":2964,"title":"OSX client doesn't find CA trusted by user","user":{"login":"p-blomberg","id":332457,"avatar_url":"https://avatars.githubusercontent.com/u/332457?v=3","gravatar_id":"","url":"https://api.github.com/users/p-blomberg","html_url":"https://github.com/p-blomberg","followers_url":"https://api.github.com/users/p-blomberg/followers","following_url":"https://api.github.com/users/p-blomberg/following{/other_user}","gists_url":"https://api.github.com/users/p-blomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/p-blomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-blomberg/subscriptions","organizations_url":"https://api.github.com/users/p-blomberg/orgs","repos_url":"https://api.github.com/users/p-blomberg/repos","events_url":"https://api.github.com/users/p-blomberg/events{/privacy}","received_events_url":"https://api.github.com/users/p-blomberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/client/labels/Needs%20info","name":"Needs info","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"guruz","id":959327,"avatar_url":"https://avatars.githubusercontent.com/u/959327?v=3","gravatar_id":"","url":"https://api.github.com/users/guruz","html_url":"https://github.com/guruz","followers_url":"https://api.github.com/users/guruz/followers","following_url":"https://api.github.com/users/guruz/following{/other_user}","gists_url":"https://api.github.com/users/guruz/gists{/gist_id}","starred_url":"https://api.github.com/users/guruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruz/subscriptions","organizations_url":"https://api.github.com/users/guruz/orgs","repos_url":"https://api.github.com/users/guruz/repos","events_url":"https://api.github.com/users/guruz/events{/privacy}","received_events_url":"https://api.github.com/users/guruz/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-03-15T17:34:06Z","updated_at":"2015-03-18T14:14:16Z","closed_at":null,"body":"### Expected behaviour\r\nThe client connects without asking any SSL-related questions, because the CA is trusted in Keychain Access. \r\n\r\n### Actual behaviour\r\nAfter entering the server address, I get this:\r\n\r\n---\r\n\r\nWarnings about current SSL Connection:\r\nThe issuer certificate of a locally looked up certificate could not be found\r\nThe root CA certificate is not trusted for this purpose\r\nNo certificates could be verified\r\n\r\n---\r\n\r\nSafari connects to the web GUI without any problems, and I have _not_ trusted the certificate, only the CA.\r\n\r\n### Screenshot\r\nhttps://gist.github.com/p-blomberg/8528ac70c4bea0af1a2a#file-screenshot-2015-03-15-18-13-41-png\r\n\r\n### Steps to reproduce\r\n1. Set up your own CA\r\n2. Import the CA certificate in Keychain Access\r\n3. Open the certificate in keychain access, and set trust to \"Always trust\"\r\n4. Set up the owncloud server and use the CA to sign the certificate\r\n5. Try to connect to the server and get the errors above\r\n\r\n### Server configuration\r\nOperating system: Debian 7.8\r\nWeb server: Apache 2.2 with SNI\r\nDatabase: MySQL 5.5.41\r\nPHP version: 5.4.36\r\nownCloud version: 7.0.4\r\nStorage backend: ext4 file system\r\n\r\n### Client configuration\r\nClient version: 1.7.1 (build 1655)\r\nOperating system: OSX 10.9.5\r\nOS language: English\r\nInstallation path of client: /Applications/owncloud.app\r\n\r\n### Logs\r\n1. Output of `owncloud --logwindow` or `owncloud --logfile log.txt`\r\nhttps://gist.github.com/p-blomberg/8528ac70c4bea0af1a2a\r\n\r\n2. Web server error log:\r\nDoes not contain a single line about this connection attempt\r\n\r\n3. ownCloud log (data/owncloud.log):\r\nThere is no file with that name :(\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/82991735","html_url":"https://github.com/owncloud/client/issues/2964#issuecomment-82991735","issue_url":"https://api.github.com/repos/owncloud/client/issues/2964","id":82991735,"user":{"login":"boltronics","id":250531,"avatar_url":"https://avatars.githubusercontent.com/u/250531?v=3","gravatar_id":"","url":"https://api.github.com/users/boltronics","html_url":"https://github.com/boltronics","followers_url":"https://api.github.com/users/boltronics/followers","following_url":"https://api.github.com/users/boltronics/following{/other_user}","gists_url":"https://api.github.com/users/boltronics/gists{/gist_id}","starred_url":"https://api.github.com/users/boltronics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boltronics/subscriptions","organizations_url":"https://api.github.com/users/boltronics/orgs","repos_url":"https://api.github.com/users/boltronics/repos","events_url":"https://api.github.com/users/boltronics/events{/privacy}","received_events_url":"https://api.github.com/users/boltronics/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T14:14:16Z","updated_at":"2015-03-18T14:14:16Z","body":"@oascn-petrindade I just remembered I had an owncloud-specific SAN entry in my cert as well.\r\n\r\nI've now opened a separate ticket (#2979) for my issue. It could be a duplicate of this (the same root cause), but this ticket specifically refers to OSX so have erred on the safe side."}}