Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Lib does not work anymore - set CURLOPT_SSL_VERIFYPEER to false #133

Open
tjaussoin-luna opened this issue Jan 7, 2014 · 1 comment
Open

Comments

@tjaussoin-luna
Copy link

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/

@Donjohn
Copy link

Donjohn commented Jan 17, 2014

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants