SSL certificate problem: self signed certificate in certificate chain

Go to and download the pem file and save in your php installation directory ( make sure while saving it retains the extension and not saved as a text file )

Now, open your php.ini file, scroll to the bottom and add the following line:


Replace D:\xampp\php\cacert.pem with the actual path.