How can I remove SSL verification in dev mode?
Opened this issue · 5 comments
Is there a method to do that? Today I have this issue when working lacally :
Uncaught CurlException: Error making request with curl_error: SSL certificate problem: unable to get local issuer certificate in C:\laragon\www\DESsandbox\campaignMonitorApi\createsend-php\class\transport.php:174
@picks44 Did you manage to resolve this?
@ChristopherNowlan I can't remember so I guess I did or found a workaround!
@picks44 no worries. If you remember let me know.
For anyone else that needs help with this I changed line 140 of transport.php from this
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
to this so that I can test without a ssl
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
@ChristopherNowlan, now I have encoutered this issue again on a new project :)
Where did you set the cUrl option?