DEV Community

Marcelo Adrian Oliveto
Marcelo Adrian Oliveto

Posted on

ASP.NET CORE 5.0 TLS 1.2 issue on linux

ASP.NET CORE 5.0 TLS 1.2 issue on linux


I have a problem with TLS 1.2 in core 5.0 and linux

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception
       ---> System.IO.IOException:  Received an unexpected EOF or 0 bytes from the transport stream.
         at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|182_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
         at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
         at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter,

Discussion (0)