title: RemoteCertificateNameMismatch when auth using SslStream on linux
body: <p>I've come across some strange behaviour of dotnet SslStream, when running my dotnet-core app on linux environment.</p>
  
  <p>here is the code:</p>
  
  <pre><code>TcpClient cl = new TcpClient();
  cl.Connect("52.209.63.190", 443);
  var ssl = new SslStream(cl.GetStream());
  ssl.AuthenticateAsClient("api.bitfinex.com");
  </code></pre>
  
  <p>Auth result is success, when running on windows.
  But same code ends with auth error (RemoteCertificateNameMismatch), when linux.</p>
  
  <p>dotnet --info:</p>
  
  <p>.NET Command Line Tools (2.1.4)</p>
  
  <p>Product Information:
   Version:            2.1.4
   Commit SHA-1 hash:  5e8add2190</p>
  
  <p>Runtime Environment:
   OS Name:     fedora
   OS Version:  27
   OS Platform: Linux
   RID:         linux-x64
   Base Path:   /usr/share/dotnet/sdk/2.1.4/</p>
  
  <p>Microsoft .NET Core Shared Framework Host</p>
  
  <p>Version  : 2.0.5
    Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54</p>
  
  <p>Why code behaviour is so different on linux? 
  How can I handle it and pass ssl auth?</p>
  
  <p>Thank you in advance</p>