Error connecting to Twilio "SSL certificate problem: unable to get local issuer certificate (0)" #252

Closed
johndpalm opened this Issue Oct 24, 2013 · 2 comments

Projects

None yet

2 participants

@johndpalm

I forked the GitHub OpenVBX project, created an Azure Web Site (with MySQL on ClearDb), and configured it to pull from the fork. (Steps to reproduce are similar to: http://www.windowsazure.com/en-us/develop/php/common-tasks/create-a-php-web-site)

The site comes up and I'm able to configure it until it tries to connect to Twilio.

On the Connect to Twilio page, after entering the required fields, I get this error:

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

I suspect this is something on the Azure side since I've seen posts with the same "unable to get local issuer certificate" message (but no resolution).

There is no errors in the web server logs or in my Twilio account logs.

The error doesn't give enough details about what it is doing to diagnose the issue.

I created a StackOverflow question as well: http://stackoverflow.com/questions/19574572/azure-web-sites-error-connecting-to-twilio-ssl-certificate-pro-blem-unable-to

@johndpalm

Set the "twilio_use_certificate" to true in \config\config.php.

/*
|--------------------------------------------------------------------------
| 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;
@johndpalm johndpalm closed this Oct 24, 2013
@hero789
hero789 commented Feb 16, 2016

hello ,

where is the file "\config\config.php" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment