I'm using libcurl libraries to call a rest endpoint and it fails on pulling the self signed cert with the error: schannel: Failed to import cert file sit.cer, last error is 0x80092002.
I'm not really that well versed on c++
curl_easy_setopt(curl, CURLOPT_CAINFO, "cacert.pem");
curl_easy_setopt(curl, CURLOPT_SSLCERT, "sit.crt");
curl_easy_setopt(curl, CURLOPT_SSLKEY, "sit.key");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
I am really stuck on this, please help.