cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Post of large files over ssl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 Oct 2001 14:33:57 +0200 (MET DST)

On Tue, 23 Oct 2001, Christian Meynert wrote:

> I use curl 7.9 (win32) libcurl 7.9 (OpenSSL 0.9.6b), in order to post
> files over ssl. The HTTPS POST requests don't complete, when I try to
> transfer more than 44KB. They just freeze and no reasonable message is
> shown.

[snip]

> I found out, that the transfer works fine, if I don't utilize the client
> certificate within the call.
>
> Is it possible to use client certificates within a call for a POST
> request over HTTPS? Does anybody has an idea for the reason of this
> problem?

This obviously is a SSL-related problem. I think curl uses OpenSSL the
correct way and then things like "Re-negotiation handshakes" should be done
in the underlying layer that curl never knows anything about.

Anyway, I've tried search around for the answer to this problem and while
I've noticed that others too have experienced similar problems I haven't read
any really good analyses or prescriptions.

You should however start out with trying to force SSLv3 by using the -3
option as it might not renegotiate properly otherwise (as explained by Joshua
Chamas here:
http://groups.google.com/groups?hl=sv&selm=9b521b%24gaf%241%40FreeBSD.csie.NCTU.edu.tw).

Does this work using your favourite browser/whatever? Some answers seeem to
point to problems in the server configs...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-24