title: The request was aborted: Could not create SSL/TLS secure channel
body: <p>My customer has informed my of issues with their SSL and Internet Explorer. They said they get trust issues when accessing the URL. </p>
  
  <p>I am accessing JSON through HTTPS. The website sits on one server and I am using the console app on my local machine. I am trying to bypass the SSL Cert, however, my code still fails.</p>
  
  <p>Can I alter HttpWebRequest to fix this problem?</p>
  
  <p>I get this error using this code:</p>
  
  <pre><code>    // You must change the URL to point to your Web server.
          HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
          req.Method = "GET";
          req.AllowAutoRedirect = true;
  
          // allows for validation of SSL conversations
          ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
  
  
          WebResponse respon = req.GetResponse();
          Stream res = respon.GetResponseStream();
  
          string ret = "";
          byte[] buffer = new byte[1048];
          int read = 0;
          while ((read = res.Read(buffer, 0, buffer.Length)) &gt; 0)
          {
              //Console.Write(Encoding.ASCII.GetString(buffer, 0, read));
              ret += Encoding.ASCII.GetString(buffer, 0, read);
          }
          return ret;
  </code></pre>