title: Using ssl with localhost with asp.net mvc 5 on VS2015
body: <p>I'm trying to test my website locally using SSL with IIS Express. It has the following properties set:</p>
  
  <ul>
  <li><code>SSL Enabled</code> set to 'true' </li>
  <li><code>SSL URL</code> is set <a href="https://localhost:44354/" rel="nofollow noreferrer">https://localhost:44354/</a></li>
  </ul>
  
  <p>But whenever I open the https address, I get the following error:</p>
  
  <p>In "Microsoft Edge":</p>
  
  <p><a href="https://i.stack.imgur.com/PFIz4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PFIz4.png" alt="enter image description here"></a></p>
  
  <p>In Google Chrome:</p>
  
  <p><a href="https://i.stack.imgur.com/Ynl7U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ynl7U.png" alt="enter image description here"></a></p>
  
  <p>I've read article after articles, including some on SO but to no avail. I've tried the following:</p>
  
  <ul>
  <li>I've deleted my <code>IIS Express Development Certificate</code></li>
  <li>I've repaired <code>IIS Express 10</code> via the <code>Control Panel</code></li>
  <li>I've removed the <code>localhost</code> certificate I had created manually.</li>
  <li>I've added <code>&lt;binding protocol="https" bindingInformation="*:44354:localhost" /&gt;</code> to the <code>bindings</code> section the applicationhost.config</li>
  <li>I've stopped and restarted <code>IIS Express</code>.</li>
  <li>Some suggest to change the port to 443 but my <code>SSL URL</code> is read-only in <code>.NET IDE</code>.</li>
  <li>Some articles I've read:
  
  <ul>
  <li><a href="https://docs.microsoft.com/en-us/iis/extensions/using-iis-express/running-iis-express-without-administrative-privileges" rel="nofollow noreferrer">Running IIS Express without Administrative Privileges</a></li>
  <li><a href="https://stackoverflow.com/questions/20036984/how-do-i-fix-a-missing-iis-express-ssl-certificate">How do I fix a missing IIS Express SSL Certificate?</a></li>
  <li><a href="https://stackoverflow.com/questions/5521305/iis-express-getting-ssl-to-work">IIS Express — Getting SSL to Work</a></li>
  <li>and many more...</li>
  </ul></li>
  </ul>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks.</p>