I have a command line application that is using the libcurl-4 dll's, and currently I can get everything to work by placing my CA certs in my working directory and passing their names to the CUTLOPT_CAINFO and CURLOPT_SSLCERT with ./ prefix to their names.
But, what I am working on is getting cURL to not use what is in the current directory and instead use the certs that are stored in my computer system store.
From reading cURL's documentation I understand that if you configure it without giving a specified default ca-bundle or ca-path that it will "auto-detect a setting".
And that the CURLOPT_CAINFO is by default set to "built-in system specific"
So can anyone help me understand:
if nothing is specified at configure time with curl, is the default path it detects the system store? Or does curl use its own path for a system store?
what value do you give
curl_easy_setopt(m_curlHandle, CURLOPT_CAINFO, <value>)to makeCURLOPT_CAINFOgo use its default value?
Any help is appreciated as I am still learning how this all works.
Thank you.