parse.com-php-library icon indicating copy to clipboard operation
parse.com-php-library copied to clipboard

Lib does not work anymore - set CURLOPT_SSL_VERIFYPEER to false

Open tjaussoin-luna opened this issue 11 years ago • 1 comments

Hi, For me, this lib does not work anymore. Parse.com does not answer to any requests I send. After investigations, I found that you need to add in the "request" method of the parseRestClient class (in parse.php) the following: curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);

Now it's back to normal. I posted it on Parse.com forum too so that they're aware they might have broken some web-apps ;-) ...

Fyi, running PHP 5.3.6 to have this problem (and it was working few days ago with this exact same version of PHP). Note that I've tested with PHP < 5.3.0 (I had to fix other incompatibilities with this framework to make it testable), and I don't need this option....

Cheers, Tom http://www.lunabee.com/

tjaussoin-luna avatar Jan 07 '14 12:01 tjaussoin-luna

prolly your certificate is out of date, dl a fresh one and use CURLOPT_CAINFO setting

Donjohn avatar Jan 17 '14 15:01 Donjohn