Add These Two line
1 2 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); |
in Laravel open vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
and change this
1 2 |
$conf[CURLOPT_SSL_VERIFYHOST] = 2; $conf[CURLOPT_SSL_VERIFYPEER] = true; |
to
1 2 |
$conf[CURLOPT_SSL_VERIFYHOST] = 0; $conf[CURLOPT_SSL_VERIFYPEER] = FALSE; |
Leave a reply