How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication

后端 未结 6 1779
被撕碎了的回忆
被撕碎了的回忆 2021-02-15 17:10

Currently, I am doing a project on laravel5.

I use socialize for Facebook authentication,But I got cURL error Mentioned below.

 RequestException in CurlF         


        
6条回答
  •  悲哀的现实
    2021-02-15 17:47

    well it may sometimes be confusing. when you check the php.ini file you will see ;curl.cainfo = “certificate path\cacert.pem” you have to note there is a semicolon in front. remove that and all the quotes marks, and simple put the file path to look like this curl.cainfo = C:\xampp\php\extras\ssl\cacert.pem as you can see my cacert.pem is in the path C:\xampp\php\extras\ssl\cacert.pem thats where it should be . save and restart your server.

提交回复
热议问题