curl 发送请求的时候报错

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

 

处理方法:

1.去这个网站https://curl.haxx.se/docs/caextract.html,下载证书

2.在php.ini的curl 部分引入证书的文件路径;

3.重启apache或nginx

posted on 2018-07-05 17:34  小帅豹  阅读(662)  评论(0编辑  收藏  举报