Closed vinicinbgs closed 2 years ago
How fix? Use in CURL options
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER , false) curl_setopt($ch, CURLOPT_SSL_VERIFYHOST , false)
Or,
Download latest version in https://curl.haxx.se/docs/caextract.html and configure in php.ini
curl.cainfo="/etc/php7.0/cacert.pem" openssl.cafile="/etc/php7.0/cacert.pem"
When you dont have a cacert.pem (Certified) configured in php.ini, its possible return false.
How fix? Use in CURL options
Or,
Download latest version in https://curl.haxx.se/docs/caextract.html and configure in php.ini