我正在开发 Nexmo 包的短信功能。 但是我遇到了一个错误:
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
尽管我已经填写了 .env
和 config/nexmo.php
文件。
最佳答案
我刚刚使用存储库中的指南创建了一个新的 Laravel 项目,并收到了这条新的错误消息。
>cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
该存储库工作正常,只是我的 xampp 存在问题。
我的解决方案非常简单:点击此链接: http://curl.haxx.se/ca/cacert.pem复制整个页面并将其保存在:“cacert.pem”
然后在 php.ini 文件中插入或编辑以下行:curl.cainfo = "[pathtothisfile]\cacert.pem"
关于laravel-5 - Nexmo API 凭据错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49598919/