SSL certificate error: self signed certificate in certificate chain in using Twilio on my Laravel Website

主宰稳场 提交于 2019-12-22 10:26:03

问题


I am testing my codes on my localhost and I tried dtisgodsson/laravel4-twilio to apply on my current website but I got this error

SSL certificate problem: self signed certificate in certificate chain

right after I put this code inside my index.blade.php:

Twilio::to('119061539155')->message('This is so, damn, easy!');

What do I need to do to get rid of this error?


回答1:


Twilio Developer Evangelist here.

This error is caused by not having an up-to-date bundle of CA root certificates with your PHP installation. You need to download the latest CA root certificate bundle and update your php.ini to use this bundle. This blog post shows you how to accomplish both of those things.

Let me know if that gets you all fixed up!




回答2:


If solution selected as answer to this question did not work, and you continue to have SSL authentication problems try this:

Change the setting twilio_use_certificate from false to true.

Find file OpenVBX/config/config.php and search for "twilio_use_certificate"

Then change FROM:

$config['twilio_use_certificate'] = false;

TO:

$config['twilio_use_certificate'] = true;


来源:https://stackoverflow.com/questions/28535911/ssl-certificate-error-self-signed-certificate-in-certificate-chain-in-using-twi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!