IISExpress cannot find ssl page running localhost with Visual Studio 2013

前端 未结 11 544
旧巷少年郎
旧巷少年郎 2020-12-23 20:17

When I access the site as http://localhost:26049, the site runs fine. If I try to access the site with https://localhost:44319, I get page not found.

This is my proj

11条回答
  •  生来不讨喜
    2020-12-23 21:00

    I was having these SSL issues with Chrome and Edge.

    After a long process of reviewing all these answers and suggestions, what eventually worked for me (asp.net mvc 5, VS2015) was a mix of the answers above

    1. Add Certificates snap in as shown above, removing mutlitple certs and regenerate a new certificat: Thanks @garethb
    2. The issue then is around the trust level of that certificate. The following link shows step by step process to export and then import (not just move) the local certificate https://blogs.msdn.microsoft.com/robert_mcmurray/2013/11/15/how-to-trust-the-iis-express-self-signed-certificate/

      1. When closing everything and then rebuild and deploy into IIS Express, I no longer have the SSL errors in any browser

提交回复
热议问题