by David Steinbruch [david at thera dot com dot br] posted on 2005/12/06 |
|
I am facing this exception a problem when doing a handshake between a client in openssl and a server writen with SecureSocket:
Exception reading from Server: Org.Mentalis.Security.SecurityException: An error occurs while communicating with the remote host.
Org.Mentalis.Security.Ssl.Shared.SslException: The other side has sent a failure alert.
at Org.Mentalis.Security.Ssl.Shared.HandshakeLayer.ProcessAlert(RecordMessage message)
at Org.Mentalis.Security.Ssl.Shared.HandshakeLayer.ProcessMessages(RecordMessage message)
at Org.Mentalis.Security.Ssl.Shared.RecordLayer.ProcessBytes(Byte[] buffer, Int32 offset, Int32 size)
at Org.Mentalis.Security.Ssl.Shared.SocketController.OnReceive(IAsyncResult ar) ---> Org.Mentalis.Security.Ssl.Shared.SslException: The other side has sent a failure alert.
at Org.Mentalis.Security.Ssl.Shared.HandshakeLayer.ProcessAlert(RecordMessage message)
at Org.Mentalis.Security.Ssl.Shared.HandshakeLayer.ProcessMessages(RecordMessage message)
at Org.Mentalis.Security.Ssl.Shared.RecordLayer.ProcessBytes(Byte[] buffer, Int32 offset, Int32 size)
at Org.Mentalis.Security.Ssl.Shared.SocketController.OnReceive(IAsyncResult ar)
--- End of inner exception stack trace ---
at Org.Mentalis.Security.Ssl.SecureSocket.EndReceive(IAsyncResult asyncResult)
at Org.Mentalis.Security.Ssl.SecureSocket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
|
by David [david at thera dot com dot br] posted on 2005/12/15 |
|
As Mentalis has not given me any response for my problem, I´ve given up this solution. Now I will migrate my application to .NET Framework 2.0. .NET 2.0 has support for SSL. And if I have any problem I can ask Microsoft, and have a good support.
|