-
Notifications
You must be signed in to change notification settings - Fork 21
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 to disable SSL #2
Comments
Don't disable SSL. This is payments. Try this instead. |
Hi Ibrahim,
It worked very well. Thank you very much.
*Best Regards,*
*Manish.*
*+91-8770548457*
…On Sun, Aug 27, 2017 at 2:04 AM, Ibrahim Lawal ***@***.***> wrote:
Don't disable SSL. This is payments.
Try this instead.
https://github.com/yabacon/paystack-php/wiki/cURL-error-
60:-SSL-certificate-problem:-unable-to-get-local-issuer-
certificate-(see-http:--curl.haxx.se-libcurl-c-libcurl-errors.html)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdhyAlYo_qV8Nna3ut92nGHOBv0R-M4wks5scIFugaJpZM4PB8M7>
.
|
Glad to be of assistance |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using on XAMP installed in local machine. I want to disable the SSL either via library function or any how.
I am getting below error.
Fatal error: Uncaught exception 'Exception' with message 'Curl failed with response: 'SSL certificate problem: unable to get local issuer certificate'.' in C:\xampp\htdocs\PHPCodes\Test\social\includes\paystack\Paystack.php:701 Stack trace: #0 C:\xampp\htdocs\PHPCodes\Test\social\includes\paystack\Paystack.php(358): PaystackHttpResponse->wrapUp() #1 C:\xampp\htdocs\PHPCodes\Test\social\includes\paystack\Paystack.php(436): PaystackHelpersCaller->callEndpoint(Array, Array, Array) #2 [internal function]: PaystackHelpersRouter->{closure}(Array) #3 C:\xampp\htdocs\PHPCodes\Test\social\includes\paystack\Paystack.php(391): call_user_func_array(Object(Closure), Array) #4 C:\xampp\htdocs\PHPCodes\Test\social\includes\verify.php(37): PaystackHelpersRouter->__call('verify', Array) #5 C:\xampp\htdocs\PHPCodes\Test\social\includes\verify.php(37): PaystackHelpersRouter->verify(Array) #6 {main} thrown in C:\xampp\htdocs\PHPCodes\Test\social\includes\paystack\Paystack.php on line 701
used the solution
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
from https://developers.paystack.co/discuss/58fa2b1616c90d2f0087be27
but not working.
The text was updated successfully, but these errors were encountered: