I have a https restful endpoint which I am querying with curl using a command like this:
curl -k --cert client-cert.pem:password https://test-server@mycompany.com/api/vi/getinfo
In Gitbash this works and returns data.
From windows command prompt the exact same command returns an error :
curl: (35) schannel: next InitiaizeSecurityContent failed: SEC_E_CERT_UNKNOWN (0x80090327) - An unknown error occured while processing the certificate
My question is: what is windows command prompt doing differently to Gitbash to make this fail ? , and is there a setting I can change ?