1
Vote

remotecertificate validation is invalid

description

Hi

Since we renewed our wildcard certificate I'm not able anymore to use your SMTP Test tool.
Erro Mensagem: Das Remotezertifikat ist laut Validierungsverfahren ungültig. || Erro Stack Trace:    bei System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
   bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   bei System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   bei System.Threading.ExecutionContext.runTryCode(Object userData)
   bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   bei System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   bei System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   bei System.Net.Mail.SmtpConnection.Flush()
   bei System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   bei System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
   bei System.Net.Mail.SmtpClient.Send(MailMessage message)
   bei TestaSmtp.Form1.btnTestar_Click(Object sender, EventArgs e)
As i searched the internet for this error: Das Remotezertifikat ist laut Validierungsverfahren ungültig.

i found following solution Das Remotezertifikat ist laut Validierungsverfahren ungültig.
ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
Could you help me please?

Kind regards

red1337

comments