Fix grid info fetch ignoring certificates
This commit is contained in:
@@ -327,6 +327,7 @@ int HippoRestRequest::getBlocking(const std::string &url, std::string *result)
|
||||
|
||||
curl_easy_setopt(curlp, CURLOPT_NOSIGNAL, 1); // don't use SIGALRM for timeouts
|
||||
curl_easy_setopt(curlp, CURLOPT_TIMEOUT, 5); // seconds
|
||||
curl_easy_setopt(curlp, CURLOPT_CAINFO, gDirUtilp->getCAFile().c_str());
|
||||
|
||||
curl_easy_setopt(curlp, CURLOPT_WRITEFUNCTION, curlWrite);
|
||||
curl_easy_setopt(curlp, CURLOPT_WRITEDATA, result);
|
||||
|
||||
Reference in New Issue
Block a user