title: use https on asp.net application running on localhost
body: <p>I've created an asp.net web application with a web form called "Main.aspx" in it. I'm trying to run the application over https. Since I have no experiences with SSL, IIS etc. I googled how to achieve this but every solution didn't work for me.</p>
  
  <p>I enabled SSL using the following steps: <a href="https://stackoverflow.com/a/8817682/2679160">Enable SSL</a></p>
  
  <p>My application is now running on <a href="https://localhost:59917/" rel="nofollow noreferrer">https://localhost:59917/</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/Z1wBX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z1wBX.png" alt="enter image description here"></a></p>
  
  <p>But if I start my application I get a Firefox error message: "Secure connection failed". So I followed the steps from <a href="https://weblogs.asp.net/scottgu/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates" rel="nofollow noreferrer">Scott Gu's Blog Post</a> but it didn't work neither.</p>
  
  <p>Does anyone have experiences in SSL and ASP.net web applications and can help me out?</p>