title: SSL in Asp.Net Core doesn't work
body: <p>I created a simple web application from visual studio <code>Web Application(Net.Core)</code> template with individual user account authorization.</p>
  
  <p>Then, I enabled SSL in <code>Project-&gt;MyProject Properties...</code>, copied URL with https to App Url.</p>
  
  <p>Finally, I added:</p>
  
  <pre><code>services.AddMvc(options =&gt;
  {
      options.Filters.Add(new RequireHttpsAttribute());
  });
  </code></pre>
  
  <p>to <code>Startup</code>.</p>
  
  <p>And it doesn't work! When I'm starting the application, it just simply turns off after a second, and nothing happens, no error, nothing!</p>
  
  <p>What's wrong with SSL in Asp.Net Core, and how can I enable it correctly?</p>