title: Accepting invalid SSL certificates using WinRT
body: <p>There are scenarios where you want your application to accept invalid SSL certificates (testing environment/ self signed certificates etc).</p>
  
  <p>In the .NET world one would use the <code>ServerCertificateValidationCallback</code> class to do so. Unfortunately the class doesn't exist in a WinRT context.</p>
  
  <p>I need to consume a Web API using WinRT which is hosted on a server without a valid ssl certificate. </p>
  
  <p>How do you accept invalid ssl certificates in WinRT using the <code>HttpClient</code> class or any other appropriate class.</p>
  
  <p>Any help or alternatives would much appreciated.</p>