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

后端 未结 21 1979
暖寄归人
暖寄归人 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:12

    I experienced some issues following instructions in regards to error 77.

    On Windows 7, depending on your security settings - the file downloaded may be blocked. See screenshot:

    Once I unblocked the file and ensured proper user access rights, I also had to put the file in the following location:

    C:\xampp\apache\bin\cacert.pem.txt

    In addition to changing php.ini per the other posts on this issue.

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

    After completing the above steps, restarting Apache via the XAMPP Control Panel, the error was resolved.

提交回复
热议问题