支付宝demo中的cacert.pem中的key能删掉吗?

WBOY
Release: 2016-06-06 20:24:33
Original
1654 people have browsed it

支付宝demo中的cacert.pem中的key能删掉吗?
支付宝后台生成获取生成密钥是附加到cacert.pem上吗?

回复内容:

支付宝demo中的cacert.pem中的key能删掉吗?
支付宝后台生成获取生成密钥是附加到cacert.pem上吗?

可以删除,但是你在curl HTTPS URL时需要设置

<code>curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);// 信任任何证书,https需设置</code>
Copy after login
Related labels:
php
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