setting Interface precedence in libcurl

2019-08-07 Thread Praveen Pvs via curl-library
Hi All, Is there way to set the precedence of interface(media/network) in libcurl? I wanted to set the order as ETH0, WLAN0, GPRS0,BT/WLAN Could you please help me here! Regards Praveen --- Unsubscribe: https://cool.haxx.se/list/lis

curl_easy_setopt for CURLOPT_SSLENGINE returning error

2019-08-06 Thread Praveen Pvs via curl-library
Hi All, we are trying to set the SSL engine using the curl easy set options. curl_Ret = curl_easy_setopt(curlHandle, CURLOPT_SSLENGINE, "engine_keyservice"); if(curl_Ret != CURLE_OK) { LOGF_TRACE("can't set crypto engine with Error = %d",curl_Ret ); } curl_Ret = curl_easy_setopt(curlHandle,

Re: Error 58 with CURLOPT_SSLCERT

2019-06-25 Thread Praveen Pvs via curl-library
On Mon, Jun 24, 2019 at 3:20 PM Daniel Stenberg wrote: > On Fri, 21 Jun 2019, Praveen Pvs wrote: > > >> using which TLS backend? > >> > > It would be auto negotiated. TLS1_2 support is there > > I meant backend as in TLS library. Based on your error texts I assume > OpenSSL. > > But based on your

Re: Error 58 with CURLOPT_SSLCERT

2019-06-21 Thread Praveen Pvs via curl-library
On Fri, Jun 21, 2019 at 3:18 AM Daniel Stenberg wrote: > On Thu, 20 Jun 2019, Praveen Pvs via curl-library wrote: > > > I am experiencing error code 58 when i try to set the SSL certificate in > my > > code. > > Which libcurl version? > 7.57 version > > us

Re: Error 58 with CURLOPT_SSLCERT

2019-06-20 Thread Praveen Pvs via curl-library
Hi All, Have been trying to debug this from yesterday, not able to figure it out. Can someone help me here! If i am not getting this to work, need to change my implementation from Curl library usage to openssl calls. Appreciate your help and time Regards Praveen On Thu, Jun 20, 2019 at 4:09 PM

Re: Error 58 with CURLOPT_SSLCERT

2019-06-20 Thread Praveen Pvs via curl-library
Curl Error Buffer: unable to set private key file: '/mnt/flash/system/rkeys/usr1/key0.der' type DER Any reasons why setting the private key failing here! On Thu, Jun 20, 2019 at 10:08 AM Praveen Pvs wrote: > Hi, > > I am experiencing error code 58 when i try to set the SSL certificate in > my c

Error 58 with CURLOPT_SSLCERT

2019-06-19 Thread Praveen Pvs via curl-library
Hi, I am experiencing error code 58 when i try to set the SSL certificate in my code. Not sure if i am missing some options settings or problem with the SSL certificate. Could you please let me know if i am doing something wrong? #define CA_CERT_FILE "ca-cert.pem" // Certification file #define