download cacert.pem file
2. php.ini
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo ="C:/wamp64/www/wteam/cacert.pem"
3. restart services : Done
| ( ! ) Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\wamp64\www\wteam\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 201 | ||||
|---|---|---|---|---|
| ( ! ) GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\wamp64\www\wteam\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 201 | ||||
| Call Stack | ||||
| # | Time | Memory | Function | Location | 
| 1 | 0.0070 | 367272 | {main}( ) | ...\index.php:0 | 
| 2 | 0.0595 | 528752 | AuthController->callback( ) | ...\index.php:86 | 
| 3 | 0.0595 | 529128 | League\OAuth2\Client\Provider\GenericProvider->getAccessToken( ) | ...\index.php:70 | 
| 4 | 0.0710 | 609440 | League\OAuth2\Client\Provider\GenericProvider->getParsedResponse( ) | ...\AbstractProvider.php:537 | 
| 5 | 0.0710 | 609440 | League\OAuth2\Client\Provider\GenericProvider->getResponse( ) | ...\AbstractProvider.php:621 | 
| 6 | 0.0710 | 609440 | GuzzleHttp\Client->send( ) | ...\AbstractProvider.php:608 | 
| 7 | 0.4408 | 647328 | GuzzleHttp\Promise\RejectedPromise->wait( ) | ...\Client.php:130 | 
 
No comments:
Post a Comment