Laravel 5 Socialite - cURL error 77: error setting certificate verify locations

后端 未结 21 1990
暖寄归人
暖寄归人 2020-12-02 18:36

I am using socialite in Laravel 5 to setup facebook login. I followed the instructions carefully until I got stuck with the following error

cURL error 60: SS         


        
21条回答
  •  感情败类
    2020-12-02 19:26

    i had this problem in windows 2012

    i had a virtual dedicated server that host for laravel

    then i had this error and

    • download that file from here
    • put in my extras folder in php 7.2
    • in my php.ini file find this line

      [curl]

      ; A default value for the CURLOPT_CAINFO option. This is required to be an

      ; absolute path. curl.cainfo = extras/ssl/cacert.pem

    • i paste my download file into php file sth like this:

    curl.cainfo = "C:\Program Files (x86)\PHP\v7.2\extras\ssl\cacert.pem"

    • then save php.ini
    • then restart my iis or just website

    in my case i just restart my website

提交回复
热议问题