locked
Handshake failed due to unexpected packet format

    Question

  • Hi. I'm trying the SSLstream example from: http://msdn2.microsoft.com/en-us/library/system.net.security.sslstream(d=ide).aspx

    I'm receiving an error on:  sslStream.AuthenticateAsClient(serverCertificate);
    Error is: Handshake failed due to unexpected packet format.

    Monday, August 14, 2006 2:35 AM

Answers

  • You will get this error if you haven't put the server into a mode where it will accept TLS.

    I hope this helps.

    Wednesday, August 16, 2006 5:26 PM

All replies

  • You will get this error if you haven't put the server into a mode where it will accept TLS.

    I hope this helps.

    Wednesday, August 16, 2006 5:26 PM
  • thanks for the reply... I'm using Gene6FTP and have enabled SSL. Isnt that the same with TLS?
    Thursday, August 17, 2006 9:10 AM
  • Make  sure that both server and client use the same PORT. In the example server is listening 8080 and client tries to connect to 443 
    Friday, October 31, 2008 2:01 PM