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

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

    My error is:

    cURL error 77: error setting certificate verify locations: CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)


    This works well for me:

    1. Download the certificate from: https://curl.haxx.se/ca/cacert.pem
    2. Rename the cacert.pem file into curl-ca-bundle.crt
    3. Copy the file into path/to/xampp/apache/bin
    4. Restart apache

提交回复
热议问题