title: .NET Core Console App: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
body: <p>I have a .NET Core Console app, and I'm trying to send an HttpRequest to a locally running version of my application. I'm sending a POST request with an auth token from Microsoft to our authentication endpoint, and essentially just trying to validate it.</p>
  <p>With each request, I run into the following exception:
  <code>The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot</code></p>
  <p>I don't know much about certificates, so any guidance here would be greatly appreciated.</p>