vendredi 4 mars 2016

cURL error 77 with Laravel 5 and XAMPP under Windows

I use Mailgun within my application. During testing, I got this error

cURL error 60: SSL certificate problem: unable to get local issuer certificate

No problem, I had this error before on my Laptop. Following this instructions I solved this error. After this, everything worked fine on my laptop. But on my desktop-pc, I get this error:

cURL error 77: error setting certificate verify locations:
CAfile: ‪C:\Users\Fabian\webserver\php\extras\ssl\cacert.pem
CApath: none (see http://ift.tt/1mgwZgQ)

The file cacert.pem is in this directory. In my PHP.ini I added the following line:

curl.cainfo = "‪C:\Users\Fabian\webserver\php\extras\ssl\cacert.pem"

The directory C:\Users\Fabian\webserver contains the xampp files (changed xampp to webserver during installation).

The curls-website says this about error 77:

Problem with reading the SSL CA cert (path? access rights?)

Any idea how to solve this problem?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1YdXfrz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire