{"action":"opened","issue":{"url":"https://api.github.com/repos/dailymotion/dailymotion-sdk-php/issues/51","repository_url":"https://api.github.com/repos/dailymotion/dailymotion-sdk-php","labels_url":"https://api.github.com/repos/dailymotion/dailymotion-sdk-php/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/dailymotion/dailymotion-sdk-php/issues/51/comments","events_url":"https://api.github.com/repos/dailymotion/dailymotion-sdk-php/issues/51/events","html_url":"https://github.com/dailymotion/dailymotion-sdk-php/issues/51","id":138817894,"number":51,"title":"Upload Error","user":{"login":"chudiep1511","id":17689645,"avatar_url":"https://avatars.githubusercontent.com/u/17689645?v=3","gravatar_id":"","url":"https://api.github.com/users/chudiep1511","html_url":"https://github.com/chudiep1511","followers_url":"https://api.github.com/users/chudiep1511/followers","following_url":"https://api.github.com/users/chudiep1511/following{/other_user}","gists_url":"https://api.github.com/users/chudiep1511/gists{/gist_id}","starred_url":"https://api.github.com/users/chudiep1511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chudiep1511/subscriptions","organizations_url":"https://api.github.com/users/chudiep1511/orgs","repos_url":"https://api.github.com/users/chudiep1511/repos","events_url":"https://api.github.com/users/chudiep1511/events{/privacy}","received_events_url":"https://api.github.com/users/chudiep1511/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-06T18:05:44Z","updated_at":"2016-03-06T18:05:44Z","closed_at":null,"body":"Hi dailymotion,\r\nMy code:\r\napi = new Dailymotion();\r\n\r\n $api->setGrantType(\r\n            Dailymotion::GRANT_TYPE_PASSWORD,\r\n            $apiKey,\r\n            $apiSecret,\r\n            array('read', 'write', 'delete', 'manage_videos'),\r\n            array('username' => $testUser, 'password' => $testPassword)\r\n        );\r\n\r\n        $url = $api->uploadFile('a.mp4');\r\n\r\n        $result = $api->post('/me/videos', array('url' => $url));\r\n\r\nGet Error mes:\r\n\r\nFatal error: Uncaught exception 'DailymotionTransportException' with message 'SSL certificate problem: unable to get local issuer certificate' in C:\\xampp\\htdocs\\Dailymotion.php:877 Stack trace: #0 C:\\xampp\\htdocs\\Dailymotion.php(727): Dailymotion->httpRequest('https://api.dai...', Array, NULL, NULL, Array, true) #1 C:\\xampp\\htdocs\\Dailymotion.php(591): Dailymotion->oauthTokenRequest(Array) #2 C:\\xampp\\htdocs\\Dailymotion.php(404): Dailymotion->getAccessToken() #3 C:\\xampp\\htdocs\\Dailymotion.php(356): Dailymotion->call('GET /file/uploa...', Array) #4 C:\\xampp\\htdocs\\Dailymotion.php(326): Dailymotion->get('/file/upload', Array) #5 C:\\xampp\\htdocs\\index2.php(21): Dailymotion->uploadFile('a.mp4') #6 {main} thrown in C:\\xampp\\htdocs\\Dailymotion.php on line 877\r\n\r\n\r\nHow can i fix it?"}}