问题:在利用OSS进行上传文件时,在本地调试发现都会报SSL证书异常
OSS上传文件提示SSL证书异常

下载一个ca-bundle.crt ,放到对应的目录,在php.ini文件中配置下路径
https://github.com/bagder/ca-bundle/blob/e9175fec5d0c4d42de24ed6d84a06d504d5e5a09/ca-bundle.crt

在php.ini加入 ,重启web服务器

curl.cainfo="真实路径/ca-bundle.crt"

OSS上传文件提示SSL证书异常

参考链接:https://www.cnblogs.com/loveyouyou616/p/5513384.html

相关文章:

  • 2022-12-23
  • 2021-03-31
  • 2021-11-30
  • 2021-10-10
  • 2021-07-01
  • 2021-04-13
  • 2022-12-23
  • 2021-06-16
猜你喜欢
  • 2022-01-14
  • 2022-01-31
  • 2021-10-05
  • 2021-07-13
  • 2022-01-10
  • 2021-05-25
  • 2022-12-23
相关资源
相似解决方案