Re: Error "* Initializing NSS with certpath: sql:/etc/pki/nssdb"

2016-02-26 Thread cnm marketing
>>> But that is not the command I suggested you to use, is it? Well, yes, you command is "openssl s_client", would you mind give me full command to list all the cipher-suite for NSS. On Fri, Feb 26, 2016 at 11:37 AM, cnm marketing <cnn.mark

Error "* Initializing NSS with certpath: sql:/etc/pki/nssdb"

2016-02-25 Thread cnm marketing
Hi, We use two different ports to do libcurl operations on "CentOS release 6.6 (Final)". In an internal port A, with "CURLOPT_VERBOSE" on, we got this message "* Initializing NSS with certpath: sql:/etc/pki/nssdb" when using url "https://.aaa.com:portA;, then program hangs. However, it works

Re: How to do http "DELETE" in libcurl

2016-01-28 Thread cnm marketing
ork in libcurl? Message: 4 Date: Tue, 26 Jan 2016 23:51:34 +0100 (CET) From: Daniel Stenberg <dan...@haxx.se> To: libcurl development <curl-library@cool.haxx.se> Subject: Re: How to do http "DELETE" in libcurl Message-ID: <alpine.deb.2.20.1601262350550.7...@tvnag.unkk.fr&

Re: How to "PUT" http body to HTTP PUT in libcurl

2016-01-27 Thread cnm marketing
According to your instruction - "Changing the CURLOPT_POST to a CURLOPT_PUT ought to get you what you want". The result of "405 Method Not Allowed" makes me feel uncomfortable. Please advise The following are the output for before changing CURLOPT_POST to CURLOPT_PUT, and after the change

Re: How to do http "DELETE" in libcurl

2016-01-27 Thread cnm marketing
" in libcurl Message-ID: <alpine.deb.2.20.1601262350550.7...@tvnag.unkk.fr> Content-Type: text/plain; charset=US-ASCII; format=flowed On Tue, 26 Jan 2016, cnm marketing wrote: > Does the following make sense to you, I found this some place, but want to > make sure this is valid: &g

How to do http "DELETE" in libcurl

2016-01-26 Thread cnm marketing
Hi, Does the following make sense to you, I found this some place, but want to make sure this is valid: curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "DELETE"); NOTE - send body with HTTP DELETE I suggest you simply set the body with CURLOPT_POSTFIELDS and set CURLOPT_CUSTOMREQUEST to

Re: How to "PUT" http body to HTTP PUT in libcurl

2016-01-26 Thread cnm marketing
100 From: Dan Fandrich <d...@coneharvesters.com> To: curl-library@cool.haxx.se Subject: Re: How to "PUT" http body to HTTP PUT in libcurl Message-ID: <20160125205319.ga32...@coneharvesters.com> Content-Type: text/plain; charset=iso-8859-1 On Mon, Jan 25, 2016 at 12:41:27PM -0500, cnm m

How to "PUT" http body to HTTP PUT in libcurl

2016-01-25 Thread cnm marketing
Hi, I have the following http put, how do I use curl_easy_setopt( ) to set it. Notice that the body portion is just a Json text string. //url HTTP PUT https://xx/object?name=xyz // body { "bodayField":"abcd" } CURLOPT_READDATA and CURLOPT_INFILESIZE_LARGE is for reading a file. Thanks,

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-22 Thread cnm marketing
Yes, one of our options is to create our own wrapper library by compile libcurl on our repository. Anything that I need to know for this option. thanks, On Tue, Mar 19, 2013 at 8:52 AM, cnm marketing cnn.market...@gmail.comwrote: A hack could be to use libcurl without SSL use and setup stunnel

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-19 Thread cnm marketing
A hack could be to use libcurl without SSL use and setup stunnel as a last resort to avoid using SSL on your many layers. [cnm] What can exact libcurl or other routines/options be used, please give a bit more details if it is possible. On Sat, Mar 16, 2013 at 8:32 PM, cnm marketing cnn.market

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-16 Thread cnm marketing
size too small* when we integrate this piece of code to our software layer. Any thought on this. On Fri, Mar 15, 2013 at 4:26 PM, cnm marketing cnn.market...@gmail.comwrote: *error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small * libcurl does not fool around with certificate

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-16 Thread cnm marketing
there. The other group are still trying to verify this. If I understand your comment correctly, are you saying libcurl uses the openssl in the system (Linux) and OUR underneath software layers may use other openssl from other area??! On Sat, Mar 16, 2013 at 7:33 AM, cnm marketing cnn.market...@gmail.comwrote

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-16 Thread cnm marketing
program and uses the EXACT libcurl routines with dlopen()/dlclose(), this program retrieves the data from the same remote server just fine with CURLOPT_SSL_VERIFYPEER to 1 or 0, i.e. with cert.pem or without cert.pem. Hopefully this is clear enough. On Sat, Mar 16, 2013 at 5:16 PM, cnm marketing

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-15 Thread cnm marketing
(10.247.73.60) port 8443 (#0) * error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small * Closing connection 0 On Fri, Mar 15, 2013 at 3:45 AM, Daniel Stenberg dan...@haxx.se wrote: On Thu, 14 Mar 2013, cnm marketing wrote: * error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-15 Thread cnm marketing
()/dlclose() to load libcurl library. This is the ONLY way that we can fit libcurl into our software layers. I need to check with other groups and see how many they use ssl in their layers. I'll get back to you on this. On Fri, Mar 15, 2013 at 10:44 AM, cnm marketing cnn.market...@gmail.comwrote: How

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-15 Thread cnm marketing
()/dlclose() to load libcurl library. This is the ONLY way that we can fit libcurl into our software layers. There are at least 3 different layers in our layer that uses openssl, we are not the first one to be loaded. On Fri, Mar 15, 2013 at 12:59 PM, cnm marketing cnn.market...@gmail.comwrote

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-15 Thread cnm marketing
. On Fri, Mar 15, 2013 at 2:00 PM, cnm marketing cnn.market...@gmail.comwrote: What SSL implementation is your libcurl using? How is the SSL stack build and how did you build libcurl? [cnm] 1. I am not sure if I understand your first question, we use libcurl, if libcurl uses ssl, then we

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-15 Thread cnm marketing
email thread!! On Fri, Mar 15, 2013 at 2:59 PM, cnm marketing cnn.market...@gmail.comwrote: error:0506706E:Diffie-Hellman routines:GENERATE_KEY:key size too small 1. When libcurl uses Diffie-Hellman, does libcurl hardcode the Diffie-Hellman key and the length? 2. Does libcurl have an option

Re: curl_easy_perform() fails with Problem with the SSL CA cert (path? access rights?) after first time calling this routine

2013-03-14 Thread cnm marketing
daniel_at_haxx.sedaniel_at_haxx.se?Subject=Re:%20curl_easy_perform()%20fails%20with%20quot;Problem%20with%20the%20SSL%20CA%20cert%20(path?%20access%20rights?)quot;%20after%20first%20time%20calling%20this%20routine Date: Sun, 10 Mar 2013 14:36:42 +0100 (CET) On Sun, 10 Mar 2013, cnm marketing wrote: * I'll appreciate it very