curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: C curl connection error

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 19 Feb 2019 17:51:26 -0500

On 2/19/2019 4:44 PM, Bruce North via curl-library wrote:
> I have been using the curl C library without a problem until now.
> I have been doing a local (non-network) connection and don't use
> certificates.
>
> I set these paramters
>
> curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0); 
> curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
>
> And expect the call to not care about security.
>
> What has been working for quite a while is now failing with the
> following error:
>
> schannel: next InitializeSecurityContext failed:
> *SEC_I_INCOMPLETE_CREDENTIALS*(0x00090320) - The credentials supplied
>
> were not complete, and could not be verified. Additional information
> can be returned from the context.
>
>
> Any assistance would be appreciated.

The server may require a client certificate. Or you're using an old
version of curl from when it wasn't supported to attempt to connect
without a client certificate if one was requested. What makes you think
the error is not what it says? Try the latest version, source [1] or
built [2], and also try OpenSSL instead of schannel.

[1]: https://curl.haxx.se/download.html
[2]: https://curl.haxx.se/download.html#Win32

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-02-19