Home  >  Article  >  Backend Development  >  支付宝demo中的cacert.pem中的key能删掉吗?

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

WBOY
WBOYOriginal
2016-06-06 20:24:331654browse

支付宝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>
Statement:
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