runtime
runtime copied to clipboard
.NET Core on Linux doesn't send server_name extension with SslStream's AuthenticateAsClient
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:
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.
Ack! Just found https://github.com/dotnet/corefx/issues/17427. Closing this as a dup.