Home > Backend Development > PHP Tutorial > windows下通过证书的方式进行curl请求https链接失败,怎么办

windows下通过证书的方式进行curl请求https链接失败,怎么办

WBOY
Release: 2016-06-06 20:07:17
Original
1735 people have browsed it

windows下通过证书的方式进行curl请求https链接失败,提示如下:

<code>error setting certificate verify locations:
  CAfile: E:\phpStudy\cacert.pem
  CApath: none</code>
Copy after login
Copy after login

E:phpStudycacert.pem 文件存在,请问怎么解决?

回复内容:

windows下通过证书的方式进行curl请求https链接失败,提示如下:

<code>error setting certificate verify locations:
  CAfile: E:\phpStudy\cacert.pem
  CApath: none</code>
Copy after login
Copy after login

E:phpStudycacert.pem 文件存在,请问怎么解决?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template