{"action":"closed","issue":{"url":"https://api.github.com/repos/messagebird/php-rest-api/issues/3","labels_url":"https://api.github.com/repos/messagebird/php-rest-api/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/messagebird/php-rest-api/issues/3/comments","events_url":"https://api.github.com/repos/messagebird/php-rest-api/issues/3/events","html_url":"https://github.com/messagebird/php-rest-api/issues/3","id":47545499,"number":3,"title":"Mac OSX 10.9.5 local development gives SSL certificate problem","user":{"login":"dataground","id":294096,"avatar_url":"https://avatars.githubusercontent.com/u/294096?v=3","gravatar_id":"","url":"https://api.github.com/users/dataground","html_url":"https://github.com/dataground","followers_url":"https://api.github.com/users/dataground/followers","following_url":"https://api.github.com/users/dataground/following{/other_user}","gists_url":"https://api.github.com/users/dataground/gists{/gist_id}","starred_url":"https://api.github.com/users/dataground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataground/subscriptions","organizations_url":"https://api.github.com/users/dataground/orgs","repos_url":"https://api.github.com/users/dataground/repos","events_url":"https://api.github.com/users/dataground/events{/privacy}","received_events_url":"https://api.github.com/users/dataground/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-02T19:15:58Z","updated_at":"2015-07-23T15:30:59Z","closed_at":"2015-07-23T15:30:59Z","body":"On Mac OSX 10.9.5 a call to the API gives an SSL error\r\n    \r\n    MessageBird\\Exceptions\\HttpException: SSL certificate problem: unable to get local issuer certificate\r\n\r\nI did not find out why the MessageBird Cert is not trusted. But the error does not seem to occur on other os (linux etc)\r\n\r\nOne can switch off verification in Development by using this hack in vendor/messagebird/php-rest-api/src/MessageBird/Common/HttpClient.php:106\r\n   \r\n    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);\r\n    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);\r\n\r\nMaybe it is possible to add a function to skip SSL verification in the high level API?"}}