Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I remove SSL verification in dev mode? #93

Open
picks44 opened this issue Jul 17, 2019 · 5 comments
Open

How can I remove SSL verification in dev mode? #93

picks44 opened this issue Jul 17, 2019 · 5 comments

Comments

@picks44
Copy link

picks44 commented Jul 17, 2019

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

@ChristopherNowlan
Copy link

@picks44 Did you manage to resolve this?

@picks44
Copy link
Author

picks44 commented May 13, 2020

@ChristopherNowlan I can't remember so I guess I did or found a workaround!

@ChristopherNowlan
Copy link

@picks44 no worries. If you remember let me know.

@ChristopherNowlan
Copy link

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);

@picks44
Copy link
Author

picks44 commented Jun 17, 2020

@ChristopherNowlan, now I have encoutered this issue again on a new project :)
Where did you set the cUrl option?

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

No branches or pull requests

2 participants