7

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.

James Z
  • 12,209
  • 10
  • 24
  • 44
leonardeveloper
  • 1,813
  • 1
  • 34
  • 58

1 Answers1

2

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"

leonardeveloper
  • 1,813
  • 1
  • 34
  • 58
  • Hii @leonardeveloper i have added this certificate to my d drive and also add this line curl.cainfo = "D:\xampp\htdocs\cacert.pem" to php.ini and restart the server but i faced same error like you have faced. – Bhavin Thummar May 17 '18 at 07:10
  • if you face same error perhaps there's something wrong in the path or something. – leonardeveloper May 17 '18 at 22:15