SSL证书错误:在我的Laravel网站上使用Twilio时,证书链中的自签名证书 [英] SSL certificate error: self signed certificate in certificate chain in using Twilio on my Laravel Website

查看:116
本文介绍了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!

这篇关于SSL证书错误:在我的Laravel网站上使用Twilio时,证书链中的自签名证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆