string CertificateFilename = GetAccountDir(ServerAccount, true);
if (wxFile::Exists(CertificateFilename)){
-
+
curl_easy_setopt(ConnectionSession, CURLOPT_CAINFO, CertificateFilename.c_str());
+ // Force CURLOPT_SSL_VERIFYSTATUS to 0.
+ curl_easy_setopt(ConnectionSession, CURLOPT_SSL_VERIFYSTATUS, 0L);
+
}
}