cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: encrypted alert while posting data to server over ssl

From: Benedikt Allkemper <b.allkemper_at_web.de>
Date: Thu, 17 May 2007 21:11:24 +0200

Hello,

Thanks for your answer and your advice.

> If you want to know what Wireshark logs and output means, I figure you
> should check their docs or possibly asking in a forum where wireshark
> guys hang out.

I researched about the topic and found the following on the web:
http://ethereal.com/lists/ethereal-users/200110/msg00055.html
I thought that "Encrypted Alert" means that there's a problem with
encryption, but actually it means that there is an alert that is encrypted.
I also found, that doing a request using web browser also generates the
alert, so I think the problem ist rather a server misconfiguration.

Regards,
Bene

Daniel Stenberg schrieb:
> On Thu, 17 May 2007, Benedikt Allkemper wrote:
>
>> I'm new to this list.
>
>> I want to use curl to post data to a server-side script over a ssl
>> connection.
>
> For "mere" users of curl the command line tool, we recommend the
> curl-users mailing list. But anyway...
>
>> In Wireshark I can see that an ssl-connection is established, but I
>> also can see the following message:
>> "TLSv1 Record Layer: Encrypted Alert"
>> The problem was also reported in:
>> http://curl.haxx.se/mail/lib-2005-01/0242.html
>
> If you want to know what Wireshark logs and output means, I figure you
> should check their docs or possibly asking in a forum where wireshark
> guys hang out.
>
> As you can see in the thread you link to above, that was a particular
> problematic site and the fix to the problem David had back then was
> found here: http://curl.haxx.se/mail/lib-2005-01/0289.html. I don't
> see how you have his problem so the fix shouldn't apply to you...
>
>> - what does that mean. Is the tranfer of the data encrypted or not?
>
> As far as I know and as far as curl knows, it is encrypted.
>
>> - How does curl behave in situations where curl can't establish a
>> ssl-connection? Does the connection fail or does it use an
>> non-encrypted connection?
>
> The connection fails.
>
Received on 2007-05-17