runtime icon indicating copy to clipboard operation
runtime copied to clipboard

.NET Core on Linux doesn't send server_name extension with SslStream's AuthenticateAsClient

Open bojanrajkovic opened this issue 8 years ago • 1 comments

dotnet --info output:

.NET Command Line Tools (2.1.4)

Product Information: Version: 2.1.4 Commit SHA-1 hash: 5e8add2190

Runtime Environment: OS Name: ubuntu OS Version: 17.10 OS Platform: Linux RID: linux-x64 Base Path: /usr/share/dotnet/sdk/2.1.4/

Microsoft .NET Core Shared Framework Host

Version : 2.0.5 Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54

Sample project:

sni-test.zip

The same code works correctly on Windows. I found a few issues about server-side SNI/ALPN, but none when SslStream is used as a client.

bojanrajkovic avatar Feb 20 '18 05:02 bojanrajkovic

Ack! Just found https://github.com/dotnet/corefx/issues/17427. Closing this as a dup.

bojanrajkovic avatar Feb 20 '18 05:02 bojanrajkovic