title: Self hosted ASP.NET Core app does not work with SSL
body: <p>I have created an sample <code>ASP.NET Core</code> application using command line:</p>
  
  <pre><code>dotnet new
  </code></pre>
  
  <p>and tried to run it utilizing command:</p>
  
  <pre><code>dotnet run
  </code></pre>
  
  <p>But, when opening the URL in the browser, it complains that the SSL is invalid.</p>
  
  <p>I can run the program using <code>Visual Studio</code> full version without any problem, but can not run it using command line:</p>
  
  <pre><code>dotnet run
  </code></pre>
  
  <p>Seems that <code>Kestrel</code> which is run by command <code>dotnet run</code> needs extra configurations.</p>
  
  <p>Now, the question is how can I run my <code>ASP.NET Core</code> application over <code>https</code> using <code>Kestrel</code>?</p>
  
  <p>I'm on <code>Dot Net Core 2.2</code> and <code>Visual Studio 2019</code></p>