title: ASP.NET Core - IIS and HTTPS
body: <p>I'm developing a website in ASPNET Core and I want to publish it on IIS.
  If I set binding with <strong>only HTTP</strong> in IIS (and remove redirect to https from <code>program.cs</code>) <strong>it's works</strong>.</p>
  <p>But if I'm going to add binding <strong>with HTTPS in IIS it doesn't works</strong>, it's return a 503 error (Service Unavailable).</p>
  <p>Have anyone got this error?</p>
  <p>I'm installing on Windows Server 2019 with IIS 10.0</p>
  <p><em>EDIT 1:</em>
  I also tried the same configuration on another PC with Windows 11 and IIS and here works with any problem</p>