laravel 加载cafile流失败:`C:\xampp\apache\bin\curl-ca-bundle.crt'

osh3o9ms  于 2023-05-23  发布在  Apache
关注(0)|答案(1)|浏览(117)

如何解决这个错误?
加载cafile流失败:`C:\xampp\apache\bin\curl-ca-bundle.crt'

cetgtptt

cetgtptt1#

您没有提供有效的ca捆绑文件。
尝试下载this file并将其保存为C:\xampp\apache\bin\curl-ca-bundle.crt您可以阅读the Certificate Verification section of the curl documentation上的说明。
libcurl默认执行对等SSL证书验证。这是通过使用CA证书存储来完成的,SSL库可以使用该证书存储来确保对等方的服务器证书有效。

相关问题