cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: encrypted alert while posting data to server over ssl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 17 May 2007 16:56:29 +0200 (CEST)

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.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-05-17