title: Bypassing SSL Certificate Validation on DotNet Core Service Stack
body: <p>I know that <code>ServicePointManager.ServerCertificateValidationCallback</code> no longer exists in .Net Core and is instead replaced with:</p>
  
  <pre><code>using(var handler = new System.Net.Http.HttpClientHandler())
  {
      using (var httpClient = new System.Net.Http.HttpClient(handler))
      {
          handler.ServerCertificateCustomValidationCallback = (request, cert, chain, errors) =&gt;
          {
              return true;
          };
  
      }
  }
  </code></pre>
  
  <p>However we are currently using the <code>ServiceStack.Core</code> library which, as far as I can see, does not expose either a property like this or the handler itself.</p>
  
  <p>How would I tell a ServiceStack client to bypass ssl validation in this code?</p>
  
  <pre><code>using(var client = new JsonServiceClient("https://www.google.com"))
  {
      var response = client.Get("/results");
  }
  </code></pre>
  
  <p>If there is a way, would this work the same on both Windows and Linux?</p>