【发布时间】:2020-06-29 15:12:08
【问题描述】:
我正在开发应用程序以从其他站点获取 json 数据并显示在 laravel 的 html 表中。
我使用 Guzzle 发送请求。(stackoverflow question and finally use Guzzle)
当我基于 http 向外部 API 调用请求时,它显示了正确的数据!
我的问题是:
当我调用 HTTPS 链接在 laravel 中获取数据时,它转到 ssl 错误。
一些 API 地址只能在 HTTPS 中使用,
cURL error 60: SSL certificate problem: unable to get local issuer certificate
我能做什么?
【问题讨论】:
标签: laravel ssl ssl-certificate guzzle