Nexmo API 凭据错误
Nexmo API credentials error
我正在使用 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
文件。
我刚刚使用 repo 中的指南创建了一个新的 Laravel 项目并收到了这条新的错误消息。
>cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
回购工作正常,只是我的 xampp 是问题所在。
我的解决方案很简单:按照这个 link:http://curl.haxx.se/ca/cacert.pem 复制整个页面并将其保存在:"cacert.pem"
然后在您的 php.ini 文件中插入或编辑以下行:curl.cainfo = "[pathtothisfile]\cacert.pem"
我正在使用 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
文件。
我刚刚使用 repo 中的指南创建了一个新的 Laravel 项目并收到了这条新的错误消息。
>cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
回购工作正常,只是我的 xampp 是问题所在。
我的解决方案很简单:按照这个 link:http://curl.haxx.se/ca/cacert.pem 复制整个页面并将其保存在:"cacert.pem"
然后在您的 php.ini 文件中插入或编辑以下行:curl.cainfo = "[pathtothisfile]\cacert.pem"