curl_easy_perform() failed: Problem with the SSL CA cert (path? access rights?)

发布时间 2024-01-04 16:36:16作者: 冰糖葫芦很乖

curl_easy_perform() failed: Problem with the SSL CA cert (path? access rights?)  

最近遇到了一个这个问题

发现是因为自己加了一个这个

 curl_easy_setopt(pCURL, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_ALLOW_BEAST | CURLSSLOPT_NO_REVOKE);  
 

 

后来改成

curl_easy_setopt(pCURL, CURLOPT_SSL_VERIFYPEER, 0);
 
就可以了== 坑到自己了