Skip to main content
Image for post: Curl problem with Symfony 3 or Laravel

Curl problem with Symfony 3 or Laravel

Adding a curl ca info

I have recently tried to install Symfony 3 and I have had a problem with symfony command console when installing Symfony 3. I have installed it some month ago and when Symfony 3 came out but I have never had this problem! Actually I am using XAMPP on Windows. Here is the error on the command line:

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


1) Download the cacert

2) Copy or cut and paste the file on C:\xampp\php\extras\ssl\cacert.pem

3) Edit the php.ini:

curl.cainfo = "C:\xampp\php\extras\ssl\cacert.pem"

4) Restart Apache

Yes! We did it! Now you can run the symfony or laravel command and all must be ok.


Share this post

This website and/or any sub domains use cookies to understand how you to improve your experience.