Connection Reset error trying to set up HTTPS locally using VS and IIS Express

13,255

try to put a port in the range 44300-44399 this one hundred port numbers already have a certificate "bound" to them

Share:
13,255

Related videos on Youtube

Steven
Author by

Steven

Updated on September 18, 2022

Comments

  • Steven
    Steven over 1 year

    I'm trying to set up Facebook authentication on my application, so I tried following the steps at this page: http://www.asp.net/mvc/tutorials/mvc-5/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on

    I'm specifically under the section labeled "Setting up SSL in the Project"

    I set SSL Enabled to true on my project, updated the Project URL in the project properties, and added the RequireHttps annotation to my Home Controller

    enter image description here

    Everything builds fine, but when I go to view my site, it just doesn't work and I get a "connection reset" message:

    enter image description here

    If I change the settings back, then everything works fine. I also double-checked my certificates, and all I have locally is the one that IIS Express created for my application

    enter image description here

    I'm kind of at a loss here, am I missing something simple?