Nexmo / nexmo-laravel

Add Vonage functionality such as SMS and voice calling to your Laravel app with this Laravel Service Provider.
MIT License
318 stars 79 forks source link

cURL error 60: SSL certificate problem #4

Closed mvzmvcaof closed 7 years ago

mvzmvcaof commented 7 years ago

image

??? error

mvzmvcaof commented 7 years ago

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 ??

mohamedryan commented 7 years ago

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

jimkaler commented 6 years ago

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