Menu

#1067 https handshake fails using gnutls 3 on windows

closed-fixed
https (67)
5
2013-06-21
2011-11-22
mark
No

built curl 7.23.1 with gnutls 3.08 for win32 (mingw). There seems to
be a problem with https:

curl.exe -k https://www.google.com
curl: (35) gnutls_handshake() failed: A TLS packet with unexpected
length was received.

In contrast, sftp seems to work fine.

Curl 7.23.1 with gnutls 3.08 on linux does not have this problem.

The handshake works when using gnutls-cli:
gnutls-cli.exe --insecure -p 443 www.google.com

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2011-11-23

    Thanks for the report, this problem is now fixed in the git repository.

    To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html

    or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

     
  • Daniel Stenberg

    Daniel Stenberg - 2011-11-23
    • status: open --> closed-fixed