I'm trying to make a simple phone call using Twilio, however, I keep getting some sort of certificate error - Error SSL certificate problem: unable to get local issuer certificate whenever I run the function which attempts to make the phone call. I looked around and read that my local PC certificates must be outdated or something, hence why I'm getting the error. The problem is that I'm using Windows 7 and most tutorials showing how to fix the error are for Linux. Is there an easy way to fix that problem in Windows? I'm also using Apache with MAMP.
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Twilio\Rest\Client;
class CallController extends Controller
{
    public function test(Request $request){
        $accountSid = "xxxxxxxxxxxxxxxxxxxxxxx";
        $authToken = "xxxxxxxxxxxxxxxxxxxxxxxx";
        $client = new Client($accountSid, $authToken);
        try {
            $call = $client->calls->create("+xxxxxxxxxxxxx", "+xxxxxxxxxxxxx", array("url" => "http://demo.twilio.com/docs/voice.xml"));
        } catch (\Exception $e) {
            echo "Error " . $e->getMessage();
        }
    }
}
 
    