Solve Laravel/XAMPP/GuzzleHTTP cURL error 60: No SLL certificate

I you get following error, when trying to cURL with Laravel or using GuzzleHTTP on an XAMPP server:

cURL error 60: SSL certificate problem: unable to get local issuer certific
ate (see

You can solve it by installing a certificate.

  1. Download
  2. Extract it an place it in C:\xampp\php\ext
  3. Open the file C:\xampp\php\php.ini
  4. Insert following line in the bottom curl.cainfo="C:\xampp\php\ext\cacert.pem" of the file, if curl.cainfo does not exists already (then you should replace the line)

Now it should work.

Inspiration taken from:'

Martin Schadegg Rasch Jensen