duanhao7786 2017-01-17 03:24
浏览 35

sparkpost laravel cURL错误60

I have l5.2 and I followed this steps in hooking sparkpost and laravel and I reverted my services and mail.php to its original configuration:

https://medium.com/@petehouston/send-mail-with-sparkpost-in-laravel-b5e30a941ebf#.s2hebpwb6

But I get this error:

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

  • 写回答

1条回答 默认 最新

  • dor65412 2017-01-17 03:53
    关注

    This is a problem with your local cacert and usually occurs when using xampp, wamp or similar related software because when making default curl requests there is no certificate in place.

    My suggestion would be to download a cacert from here: http://curl.haxx.se/ca/cacert.pem

    Copy the cert to C:\Xampp\certs

    Update your PHP.ini file with:

    curl.cainfo="C:/xampp/certs/ca-bundle.crt"
    openssl.cafile="C:/xampp/certs/ca-bundle.crt"
    

    Restart your web server and you should be good to go.

    评论

报告相同问题?

悬赏问题

  • ¥15 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号