WatsonTcp icon indicating copy to clipboard operation
WatsonTcp copied to clipboard

TLS establishment disconnection

Open NeptuneTheMystic opened this issue 9 months ago • 1 comments

Hello,

Thank you for your work on this library! It really reduces the drudgery involved with client/server com.

Having a bit of an issue however with a client's TLS connection to a server. The client does not have a certificate, but the server does. MutuallyAuthenticate is set to false on both ends, and AcceptInvalidCertificates is set to false on both ends. Also, _server.SslConfiguration.ClientCertificateRequired is set to false.

When the client calls Connect(), the server indicates it has accepted the connection, however when the client attempts to send anything, the server indicates "disconnected during SSL/TLS establishment with [client ID] (Tls12): The handshake failed due to an unexpected packet format."

Any idea what I might be doing wrong here?

Cheers!

NeptuneTheMystic avatar Sep 25 '23 13:09 NeptuneTheMystic