RE: cURL with openSSL 1.1.1 version

2019-03-21 Thread Daniel Stenberg via curl-library
On Thu, 21 Mar 2019, Swamy J-S wrote: Thanks for the reply. I didn't understand the last point what you mentioned about curl handle. I can't use the handle passed in the exact same way before means any changes in curl handling options? With CURLOPT_SSL_CTX_FUNCTION you specifty a callback to

RE: cURL with openSSL 1.1.1 version

2019-03-20 Thread Swamy J-S via curl-library
d Regards, SWAMY J S -Original Message- From: Daniel Stenberg Sent: Tuesday, March 19, 2019 2:27 PM To: Swamy J-S via curl-library Cc: Swamy J-S Subject: Re: cURL with openSSL 1.1.1 version CAUTION: This email originated from outside of the organization. Do not click links or open attachments unle

Re: cURL with openSSL 1.1.1 version

2019-03-19 Thread Daniel Stenberg via curl-library
On Tue, 19 Mar 2019, Swamy J-S via curl-library wrote: As openssl 1.0.2 support will end this year, I want to upgrade my openssl to 1.1.1 branch. Right now my code uses curl library with libcurl4 and gnuTLS as SSL backend. Am using many curl options such as CURLOPT_SSL_VERIFYPEER , CURLOPT_S

Re: Curl with OpenSSL

2014-05-31 Thread Rohit Goel
Thanks a lot Dan ! I replaced -lcrypto and -lssl in configure with my versions and it worked like a charm ! Thanks again for all the help, appreciate it ! -Rohit On Sat, May 31, 2014 at 5:25 PM, Dan Fandrich wrote: > On Sat, May 31, 2014 at 01:31:55PM +0530, Rohit Goel wrote: > > I tried the

Re: Curl with OpenSSL

2014-05-31 Thread Dan Fandrich
On Sat, May 31, 2014 at 01:31:55PM +0530, Rohit Goel wrote: > I tried the suggested approach. > It now links to the renamed SSL libraries as well as the default SSL > libraries. Is that a direct link or is it linked through another library, such as libssh2 or libldap? > This is how I ran config

Re: Curl with OpenSSL

2014-05-31 Thread Rohit Goel
Hi Dan, I tried the suggested approach. It now links to the renamed SSL libraries as well as the default SSL libraries. This is how I ran config env PKG_CONFIG_PATH=/lib/pkgconfig configure CFLAGS="-m64 -fPIC" --with-ssl --enable-static=no Result of ldd libcrypto.so.6 <- default version of cr

Re: Curl with OpenSSL

2014-05-30 Thread Rohit Goel
On Fri, May 30, 2014 at 4:38 PM, Dan Fandrich wrote: > PKG_CONFIG_PATH Thanks Dan for the quick reply. I will try this. -Rohit --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/eti

Re: Curl with OpenSSL

2014-05-30 Thread Dan Fandrich
On Fri, May 30, 2014 at 01:49:48PM +0530, Rohit Goel wrote: > I am trying to build curl on Linux platform. > I want to use OpenSSL but I want the library names for open-ssl to be changed > from the default. > Instead of linking to cdscrypto and ssl, I want it to link to mycdscrypto and > myssl (we

Re: curl-with openssl fails on the target

2013-07-24 Thread Oscar Koeroo
On 24-07-13 13:40, Indtiny s wrote: > * SSL certificate problem: certificate is not yet valid Did you see this error? I believe the error that you see later might be caused by this error failing the verification of the chain. Could you check the date+time on your system(s) and try to figure out w

Re: curl-with openssl fails on the target

2013-07-24 Thread Indtiny s
Hi , I am using openssl 1.0.1c and curl curl-7.28.1 my curl settings are below . curl_easy_setopt(curl, CURLOPT_SSL_CIPHER_LIST,"ECDHE-ECDSA-AES128-CCM"); curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM"); curl_easy_setopt(curl,CURLOPT_SSLKEYTYPE,"PEM"); curl_easy_setopt(curl,CURLOPT_SSLCERT,"/tm

Re: curl-with openssl fails on the target

2013-07-24 Thread Oscar Koeroo
On 24-07-13 11:11, Indtiny s wrote: > Hi, > > I have added AES_CCM cipher suite support to the openssl and tested with > curl client with Nginx web server . > It works well when I tested on the PC , then I cross compiled openssl and > curl for ARM and tried to run curl client application from th