gpt4 book ai didi

php - Azure 网站 : Error connecting to Twilio "SSL certificate pro blem: unable to get local issuer certificate (0)"

转载 作者:太空宇宙 更新时间:2023-11-03 13:27:57 25 4
gpt4 key购买 nike

我 fork 了 GitHub OpenVBX project ,创建了一个 Azure 网站(在 ClearDb 上使用 MySQL),并将其配置为从分支中提取。 (重现步骤类似于:http://www.windowsazure.com/en-us/develop/php/common-tasks/create-a-php-web-site)

该网站出现,我可以对其进行配置,直到它尝试连接到 Twilio。

在“连接到 Twilio”页面上,输入必填字段后,出现此错误:

SSL certificate problem: unable to get local issuer certificate (0)

网络服务器日志或我的 Twilio 帐户日志中没有错误。

该错误没有提供足够的详细信息来说明其正在执行的操作来诊断问题。

我已将其发布为 issue在 OpenVBX 项目网站上。

<小时/>

更新:我尝试更新 CURL 的 cacert.pem 文件。同样的错误。

最佳答案

在\config\config.php 中将“twilio_use_certificate”设置为 true。

/*
|--------------------------------------------------------------------------
| Use Twilio API Certificate
|--------------------------------------------------------------------------
|
| Curl certificates on some systems are either incomplete or out of date and
| this can effect connectivity to the Twilio API. If you're getting an error
| "error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
| failed (0)" then set the option below to true.
|
*/
$config['twilio_use_certificate'] = true;

关于php - Azure 网站 : Error connecting to Twilio "SSL certificate pro blem: unable to get local issuer certificate (0)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19574572/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com