xampp + php + curl + ssl = fatal_error

If you use xampp with php and curl you might encounter an error like this: Fatal error: Uncaught exception ‘HttpClientException’ with message ‘cURL Error: SSL certificate problem: unable to get local issuer certificate’ in HttpClient.php If this is the case the solution is easy: Download cacert.pem from official curl page https://curl.haxx.se/docs/caextract.html Copy cacert.pem to c:\xampp\cacert.pem […]