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

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

    1. Download from (https://curl.haxx.se/ca/cacert.pem)
    2. Change the name 'cacert.pem' to 'curl-ca-bundle.crt'
    3. In 'php.ini', remove ';' in the following line: curl.cainfo="C:\xampp\apache\bin\curl-ca-bundle.crt"

    That's worked for me.

提交回复
热议问题