title: ASP.NET Core application setup production SSL certificate
body: <p>I can run just fine on my dev box, but not in prod. </p>
  
  <p>I have an SSL cert installed on my server for my domain. </p>
  
  <p>How do I tell my ASP.NET Core application which certificate to use? I assume I need to add something to let it know.</p>
  
  <p>I ask because currently i'm getting:</p>
  
  <blockquote>
    <p>Unable to start Kestrel.
    System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.</p>
  </blockquote>
  
  <p>Trying to get it going on IIS, without any luck so testing using Kestrel just clicking on it on my work machine vs the server.</p>