Hi,
FCurlHttpManager::CurlRequestOptions.bVerifyPeer is default set to true. I need change this value to false. How can I do this?
if (FCurlHttpManager::CurlRequestOptions.bVerifyPeer)
{
curl_easy_setopt(EasyHandle, CURLOPT_SSL_VERIFYPEER, 1L);
}
else
{
curl_easy_setopt(EasyHandle, CURLOPT_SSL_VERIFYPEER, 0L);
}
Thank you.
zompi2
(zompi2)
2
Hi.
As You can see there is a code in CurlHttpManager.cpp here:
bool bVerifyPeer = true;
if (GConfig->GetBool(TEXT("/Script/Engine.NetworkSettings"), TEXT("n.VerifyPeer"), bVerifyPeer, GEngineIni))
{
CurlRequestOptions.bVerifyPeer = bVerifyPeer;
}
So if You want the bVerifyPeer set to false You have to open DefaultEngine.ini and add or set:
[/Script/Engine.NetworkSettings]
n.VerifyPeer=false