SSL证书错误:在我的Laravel网站上使用Twilio时,证书链中的自签名证书

SSL证书错误:在我的Laravel网站上使用Twilio时,证书链中的自签名证书

问题描述:

我正在本地主机上测试代码,并尝试了dtisgodsson/laravel4-twilio 可以在我当前的网站上申请,但出现此错误

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

在将这段代码放入index.blade.php中之后:

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?

此处是Twilio开发人员的传播者.

Twilio Developer Evangelist here.

此错误是由于您的PHP安装中没有最新的CA根证书捆绑包引起的.您需要下载最新的CA根证书捆绑包并更新php.ini才能使用该捆绑包.此博客文章向您展示如何完成这两项工作.

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!