Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

failed loading cafile stream: `C:\xampp\apache\bin\curl-ca-bundle.crt'

Tags:

laravel

enter image description here

How to solve this error ?

failed loading cafile stream: `C:\xampp\apache\bin\curl-ca-bundle.crt'

enter image description here

like image 637
Suman Kumari Avatar asked Apr 03 '19 07:04

Suman Kumari


1 Answers

You are not providing a valid ca bundle file.

Try downloading this file and save it as C:\xampp\apache\bin\curl-ca-bundle.crt You can read the explanation on the Certificate Verification section of the curl documentation.

libcurl performs peer SSL certificate verification by default. This is done by using a CA certificate store that the SSL library can use to make sure the peer's server certificate is valid.

like image 85
namelivia Avatar answered Sep 22 '22 00:09

namelivia