Nexmo API凭据错误

leo*_*per 7 nexmo laravel-5

我正在研究Nexmo软件包的短信功能.但是我遇到了一个错误:

请提供Nexmo API凭据.可能的组合: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

在此输入图像描述

虽然我已经填补了我.envconfig/nexmo.php文件.

leo*_*per 2

我刚刚使用存储库中的指南创建了一个新的 Laravel 项目,并收到了这个新的错误消息。

\n\n
>cURL error 60: SSL certificate problem: unable to get local issuer certificate (see\xc2\xa0http://curl.haxx.se/libcurl/c/libcurl-errors.html)\n
Run Code Online (Sandbox Code Playgroud)\n\n

回购工作正常,只是我的 xampp 是问题。

\n\n

我的解决方案很简单:点击此链接:\xc2\xa0 http://curl.haxx.se/ca/cacert.pem \xc2\xa0复制整个页面并将其保存在:“cacert.pem”中

\n\n

然后在 php.ini 文件中插入或编辑以下行:curl.cainfo = "[pathtothisfile]\\cacert.pem"

\n