title: Fail to get data from ssl site
body: <p>Alright, so I have this server running with a wildcard cert at <a href="https://www.octgn.net" rel="nofollow noreferrer">https://www.octgn.net</a> .
  In every browser I try everything works fine, except I am having users who have issues connecting.</p>
  <p>The main concern here is that I have api calls in my software that goes over ssl and for some users it just never works. This is the exception I gathered</p>
  <pre><code>WARN  2013-05-07 16:18:12,562 3.1.18.102 [11] Octgn.Launcher.LoginNew [(null)] - Login Request Failed
  System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---&gt; System.IO.IOException: The decryption operation failed, see inner exception. ---&gt; System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted
   --- End of inner exception stack trace ---
  at System.Net.Security._SslStream.ProcessReadErrorCode(SecurityStatus errorCode, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest, Byte[] extraBuffer)
  at System.Net.Security._SslStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
  at System.Net.Security._SslStream.StartFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
  at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
  at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
  at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
  at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
  --- End of inner exception stack trace ---
  at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp; request)
  at System.Net.WebClient.DownloadString(Uri address)
  at Octgn.Launcher.LoginNew.&lt;&gt;c__DisplayClass14.&lt;DoLogin&gt;b__13() in c:\Program Files (x86)\Jenkins\workspace\OCTGN-Release\octgnFX\Octgn\Launcher\LoginNew.xaml.cs:line 269
  </code></pre>
  <p>My code looks like this</p>
  <pre><code>using (var wc = new WebClient())
  {
      try
      {
          Log.Info(&quot;Sending login request&quot;);
          var ustring = AppConfig.WebsitePath + &quot;api/user/login.php?username=&quot; + HttpUtility.UrlEncode(username)
                        + &quot;&amp;password=&quot; + HttpUtility.UrlEncode(password);
          if (email != null) ustring += &quot;&amp;email=&quot; + HttpUtility.UrlEncode(email);
          var res = wc.DownloadString(new Uri(ustring));
          res = res.Trim();
          Log.Info(&quot;Do Login Request Result: &quot; + res);
      }
      catch(Exception e)
      {
          Log.Warn(&quot;Login Request Failed&quot;,e);
          this.LoginFinished(LoginResult.Failure, DateTime.Now,&quot;Please try again later.&quot;);
      }
  }
  </code></pre>
  <p>Any idea's? I'm not sure if it's my fault, maybe I need to put my public key in the software and somehow inject that into my calls, or maybe the users computer is setup funny or something?</p>
  <p>Every indication I can get is that my ssl is correct, and I don't get this from a lot of users, but it happens every time for a few, and I'm not sure what's wrong here.</p>
  <p>More info:
  quote from the user</p>
  <blockquote>
  <p>&quot;Internet Explorer cannot display the webpage.&quot;</p>
  <p>Works fine on every other browser though.&quot;</p>
  </blockquote>
  <p>Also, another quote</p>
  <blockquote>
  <p>Here's a screenshot of my SSL test results: <a href="http://tinypic.com/view.php?pic=l9wtu&amp;s=5" rel="nofollow noreferrer">http://tinypic.com/view.php?pic=l9wtu&amp;s=5</a></p>
  <p>I've tried adding https://*.octgn.net to IE. Doesn't seem to make a difference.</p>
  <p>If it helps, it says on the login page that I cant retrieve the news headlines either.</p>
  </blockquote>
  <p>The news headline is an xml document on the server as well</p>
  <p>Also the app that calls the server is a client side application, it's not a browser app.</p>