简体   繁体   中英

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

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?

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!

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;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM