Android: E/JNI: JNI-login:perform ERROR, rescode= [60]

Android error log:
E/JNI: JNI-login:perform ERROR, rescode= [60]
CURLE_SSL_CACERT, /* 60 - problem with the CA cert (path?) */

Solution is to let curl client ignore CA certification:
//客户端忽略CA证书认证
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, false);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false);

你可能感兴趣的:(android)