Passport, Https, Local... Failed

At First i had this error log

League\OAuth2\Server\Exception\OAuthServerException: Client authentication

don't know where to look, creating client, make sure the same value in database no luck

then in consumer site tried to dump error then shows

cURL error 60: SSL certificate prblm: unable to get local issuer certificate

pretty sure i failed in https, because my local site is on https

Rough patch (didnt want to update code so)

open vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
and change this

to this


Probably the right way

$guzzleClient = new \GuzzleHttp\Client(array( 'curl' => array( CURLOPT_SSL_VERIFYPEER => false, ), ));