Hello Support team,
We are getting the error "Authenticate as SSL client failed. You might be connecting to non SSL port." if we try to connect to a mailserver using POP3 SSL. We have tried the application on three workstations, on two of them it works and on one it doesn't. We also tried to connect to the mailserver using an OpenSSL connection and this works on all three of the workstations.
I hope you guys can help us. Below the full error;
Unhandled Exception: Limilabs.Client.ServerException: Authenticate as SSL clientfailed. You might be connecting to non SSL port.
---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size,SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocol Request asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, syncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509
CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
at Limilabs.Client.ClientBase.☻(Stream ☻)
--- End of inner exception stack trace ---
at Limilabs.Client.ClientBase.☻(Stream ☻)
at Limilabs.Client.ClientBase.♣()
at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)
at Limilabs.Client.ClientBase.ConnectSSL(String host, Int32 port)
at mailtest4.Program.Main(String[] args)