cURL / Mailing Lists / curl-users / Single Mail


Re: cURL / SSL problem

From: Daniel Stenberg <>
Date: Tue, 1 Jan 2002 18:51:24 +0100 (MET)

On Fri, 21 Dec 2001, Tom Reader wrote:

[sorry for not having replied earlier, I've been away from my mail the last
two weeks something]

> However, when using the SSL-enabled site, I use:
> curl --data-binary @data-file
> I receive the error:
> curl: (35) SSL: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad
> certificate
> One other thing: On most sites I try the SSL connection to, the connection
> works. I only get the error above using one particular site (needless to
> say, it's the one I *need* to use!)
> From what I've read so far, the error is commonly caused by either the key
> being larger than 1024 bits, or the certificate belonging to a machine
> other than the one I receive it from. However, in this case, neither of
> these points seem to help - the key is 1024 bits, and the certificate is
> listed as belonging to the correct machine.
> Can anyone give me any other ideas on how to move forward with this
> problem? Any help would be very much appreciated.

I think it looks like the server requires you to pass on a certificate so
that it can verify that you are who you say you are, but your command line
doesn't specify any certificate!

    Daniel Stenberg -- curl groks URLs --
Received on 2002-01-01