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 <curl-library_at_lists.haxx.se>
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,
"https://192.168.yyy.xxx:443/eSCL/ScannerCapabilities");
     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,
memory_callback_c);
     curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)var);
     curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION,
header_callback);
     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
           exit--1);
     }

I don't have access to the device!

Thanks to all
Thierry
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-12-08