+
95
-

回答

可能本地没有根证书导致的,代码中设置一下:

<?php
curl_setopt($ch, CURLOPT_CAINFO, '/path/to/cacert.pem')


网友回复

我知道答案,我要回答