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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:07:17
Original
1779 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template