Re: libcurl and https problem

2011-09-04 Thread Daan Try
On 04-Sep-11 19:27, Daan Try wrote: On 04-Sep-11 15:48, Daniel Stenberg wrote: And you're 100% sure you have only one libcurl installed and all approaches use the same lib? I'm puzzled too and have no other explanation than that they somehow differ. That could be a good pointer here: str

Re: libcurl and https problem

2011-09-04 Thread Daan Try
On 04-Sep-11 15:48, Daniel Stenberg wrote: And you're 100% sure you have only one libcurl installed and all approaches use the same lib? I'm puzzled too and have no other explanation than that they somehow differ. That could be a good pointer here: strace output of the curl executable re

Re: libcurl and https problem

2011-09-04 Thread Daniel Stenberg
On Sun, 4 Sep 2011, Daan Try wrote: If I use the curl executable it works flawlessly. When I use the --libcurl command line option on curl and compile and link the resulting c file, the resulting executable causes the same issues as my program. ... I am so puzzled by this behavior. Can anyb

Re: libcurl and https problem

2011-09-04 Thread Daan Try
On 01-Sep-11 22:41, Daniel Stenberg wrote: On Thu, 1 Sep 2011, Daan Try wrote: I have an issue that appeared with my program using libcurl after the Apache webserver of my provider was upgraded. My program uses libcurl to post some data to a website using https. This always worked flawlessly

Re: libcurl and https problem

2011-09-02 Thread Daniel Stenberg
On Fri, 2 Sep 2011, Daan Try wrote: I think I am missing some curl_easy_setopt that enables the non-legacy SSL negatiations. That's handled completely by the TLS library so there's no option in libcurl for that. -- / daniel.haxx.se -

Re: libcurl and https problem

2011-09-02 Thread Michael Wood
On 2 September 2011 08:26, Daan Try wrote: > [...] I have no control and no access to the server > part, so I can probably not figure out what is running there. [...] You can try this to get an idea of what the server is running: curl --head https://theserver.example.com/ -- Michael Wood

Re: libcurl and https problem

2011-09-02 Thread Daan Try
On 02-Sep-11 09:00, Daniel Stenberg wrote: As the error message says, you get problems because the server seems to ask for an "unsafe legacy renegotiation" and modern TLS implementations will not agree to do that as that's a major security problem. Possibly you can ask the admins of the particu

Re: libcurl and https problem

2011-09-02 Thread Daniel Stenberg
On Fri, 2 Sep 2011, Daan Try wrote: SSL Library Error: 336068931 error:14080143:SSL routines:SSL3_ACCEPT:unsafe legacy renegotiation disabled Using OpenSSL? What OpenSSL version is this and do you happen to know what drives the SSL layer in this particular server end? How can I figure out w

Re: libcurl and https problem

2011-09-01 Thread Daan Try
On 01-Sep-11 22:41, Daniel Stenberg wrote: On Thu, 1 Sep 2011, Daan Try wrote: I have an issue that appeared with my program using libcurl after the Apache webserver of my provider was upgraded. My program uses libcurl to post some data to a website using https. This always worked flawlessl

Re: libcurl and https problem

2011-09-01 Thread Daniel Stenberg
On Thu, 1 Sep 2011, Daan Try wrote: I have an issue that appeared with my program using libcurl after the Apache webserver of my provider was upgraded. My program uses libcurl to post some data to a website using https. This always worked flawlessly but now I get the following error in the Apa

libcurl and https problem

2011-08-31 Thread Daan Try
Hi, I have an issue that appeared with my program using libcurl after the Apache webserver of my provider was upgraded. My program uses libcurl to post some data to a website using https. This always worked flawlessly but now I get the following error in the Apache error log: SSL Library Err