put.io-api-v2
put.io-api-v2 copied to clipboard
SSL certificate problem: Self signed certificate
Hey, I've used your library in the past and it worked great. I'm Trying it again for a new project and I can't connect. The error I get is:
Uncaught PutIO\Exceptions\RemoteConnectionException: SSL certificate problem: self signed certificate in certificate chain in putio/vendor/nicoswd/putio/src/PutIO/Engines/HTTP/CurlEngine.php:97
I've checked the code and I also changed
private $verifyPeer = \true;
to false in CurlEngine.php
I went back to this, still an error. Any chance this can get some attention?
Hey @monxas!
Can you try commenting out line 45 in CurlEngine.php and see if that helps?
// $options[CURLOPT_CAINFO] = $this->getCertPath();
Didn’t help. I tried more stuff, I keep getting the exact same error.
El 4 sept 2019, a las 12:36, Nico Oelgart [email protected] escribió:
Hey @monxas!
Can you try commenting out line 45 in CurlEngine.php and see if that helps?
// $options[CURLOPT_CAINFO] = $this->getCertPath(); — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.