SSPI Failed on ssl connections via TLS1.2 to openssl server for serveral minutes on Windows 2012 RRS feed

  • Question

  • env: .NET Framework 4.5, windows2012 R2

    C# application connects to the server well in the first several minutes but later an exception occurs : 

    A call to SSPI failed, see inner exception

    And in Linux server, the exception is:

    SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac

    The exception occurs even in single thread.

    But it works without any problem when TLS1.1 is set.

    I want to know which setting will affect the SSLStream to report such kind of error. It's really hard to trace.

    Thanks for your reply.

    Friday, January 18, 2019 11:30 AM

All replies