curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

SSL connect error

From: Thierry Huchard via curl-library <>
Date: Wed, 08 Dec 2021 14:53:54 +0100

Hello to all !
I am the maintainer of the sane-escl backend, I have an error on an
https access on a canon XK90 scanner.
If you have an idea of why and how to bypass it, I'm interested!

     curl_handle = curl_easy_init();
     curl_easy_setopt(curl_handle, CURLOPT_URL,
     curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
     curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 0L);
     curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION,
     curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)var);
     curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION,
     curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, (void *)header);
     curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, 1L);
     curl_easy_setopt(curl_handle, CURLOPT_MAXREDIRS, 3L);
     CURLcode res = curl_easy_perform(curl_handle);
     if (res != CURLE_OK) {
           printf("respond: %s\n", curl_easy_strerror(res)); // respond:
SSL connect error

I don't have access to the device!

Thanks to all
Received on 2021-12-08