System.Net.Security.SslStream closes improperly

This is a discussion on System.Net.Security.SslStream closes improperly within the C# Programming forums, part of the General Programming Boards category; I'm trying to use an SslStream to connect to a secure server, and the server is complaining about the SslStream ...

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    2,289

    System.Net.Security.SslStream closes improperly

    I'm trying to use an SslStream to connect to a secure server, and the server is complaining about the SslStream shutting down the connection improperly by simply ending the connection, instead of doing the proper SSL close_notify, etc.

    I saw a post on another forum saying that it's a bug in the .Net implementation.

    does this bug still exist, or is there something special that I need to do to properly close these connections?

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    2,289
    I found the problem. I was closing the SslStream, and then explicitly closing the socket, which I'm guessing was not allowing the SSL connection to shut down properly.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems accessing logged on user via System.Security
    By conor20_ie in forum C# Programming
    Replies: 5
    Last Post: 11-16-2007, 06:52 AM
  2. Program closes when startup form closes
    By dcboy in forum C# Programming
    Replies: 1
    Last Post: 07-01-2006, 02:40 AM
  3. system() Security
    By cboard_member in forum Linux Programming
    Replies: 4
    Last Post: 08-19-2005, 07:33 PM
  4. system() function security vulnerabilities?
    By anonytmouse in forum Tech Board
    Replies: 8
    Last Post: 11-11-2004, 09:10 AM
  5. using A Security System Via the Serial Port
    By Necrodeemer in forum Networking/Device Communication
    Replies: 0
    Last Post: 07-24-2003, 01:55 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21