Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nexmo API credentials error

I am working on an sms feature by the Nexmo package. However I encountered an error which is:

Please provide Nexmo API credentials. Possible combinations: api_key + api_secret, api_key + signature_secret, private_key + application_id, api_key + api_secret + private_key + application_id, api_key + signature_secret + private_key + application_id

enter image description here

Though I already filled up my .env and config/nexmo.php files.

like image 343
leonardeveloper Avatar asked Apr 01 '18 14:04

leonardeveloper


1 Answers

I've just created a new Laravel project using the guide from the repo and got this new error message.

>cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

The repo is working fine and just my xampp is the issue.

My solution was as simple as: Follow this link: http://curl.haxx.se/ca/cacert.pem Copy the entire page and save it in a: "cacert.pem"

Then in your php.ini file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem"

like image 51
leonardeveloper Avatar answered Oct 24 '22 20:10

leonardeveloper