Nexmo/nexmo-laravel

cURL error 60: SSL certificate problem

mvzmvcaof opened this issue · 3 comments

image

??? error

Edited done cURL error 60

route
sms controller

-why done sms 66805456789 one number want to sms/661234567890 done send 661234567890
Pick another number sms OTP verification ??

Go to http://curl.haxx.se/ca/cacert.pem and download the pem file and save in your php installation directory ( make sure while saving it retains the extension and not saved as a text file )

Now, open your php.ini file, scroll to the bottom and add the following line:

[cURL] 
curl.cainfo="C:\wamp\bin\php\curl\cacert.pem"

Replace C:\wamp\bin\php\curl\cacert.pem with the actual path.

restart apache and if u use a bash not VH then, close laravel serve artisan "Ctrl + c " and open it again

Courtesy: http://stackoverflow.com/questions/17478283/paypal-access-ssl-certificate-unable-to-get-local-issuer-certificate

i have done what @mohamedryan have said but still getting problem while using NEXMO in laravel