When we are switching in smtp session to TLS with the code below for a specific domain the .net core crashes with
dotnet[11913]: segfault at 0 ip 00007f0888c4ce20 sp 00007f07cc7e6a28 error 4 in libcrypto.so.1.0.2k[7f0888aeb000+236
mmp.service: main process exited, code=killed, status=11/SEGV
The strange thing is for thousands of domains there is no problem but when we try to switch to TLS for domain econika.ru domain, the service crashes since it gets SEGV from libcrypto
The code is typical code to switch:
_tlsStream = new SslStream(new NetworkStream(_smtpServerSocket), false, ValidateServerCertificate, null)
{
// set timeouts.
ReadTimeout = GetReceiveTimeout(),
WriteTimeout = GetSendTimeout()
};
_tlsStream.AuthenticateAsClient(_connectedServerIp, new X509CertificateCollection(), SslProtocols.Default | SslProtocols.Tls11 | SslProtocols.Tls12, false);
Hi,
When we are switching in smtp session to TLS with the code below for a specific domain the .net core crashes with
dotnet[11913]: segfault at 0 ip 00007f0888c4ce20 sp 00007f07cc7e6a28 error 4 in libcrypto.so.1.0.2k[7f0888aeb000+236
mmp.service: main process exited, code=killed, status=11/SEGV
The strange thing is for thousands of domains there is no problem but when we try to switch to TLS for domain econika.ru domain, the service crashes since it gets SEGV from libcrypto
The code is typical code to switch:
_tlsStream = new SslStream(new NetworkStream(_smtpServerSocket), false, ValidateServerCertificate, null) { // set timeouts. ReadTimeout = GetReceiveTimeout(), WriteTimeout = GetSendTimeout() };
_tlsStream.AuthenticateAsClient(_connectedServerIp, new X509CertificateCollection(), SslProtocols.Default | SslProtocols.Tls11 | SslProtocols.Tls12, false);
Can you help ?
Thanks