Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS https binding disappears sometime

I have IIS on my development machine and I host default asp.net 4.5 website and .NET core application.

Applications are configured to work only via https. And sometimes, without any pattern "https" disappears from the configuration list. In this cases I add it manually but this is really annoing.

Any clues who can remove this binding all the time?

enter image description here

like image 578
Ievgen Avatar asked Aug 15 '18 14:08

Ievgen


1 Answers

Open launchSettings.Json and set the sslPort for iis to 443

  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iis": {
      "applicationUrl": "http://localhost/",
      "sslPort": 443
    },
    "iisExpress": {
      "applicationUrl": "http://localhost:54633",
      "sslPort": 0
    }
  },
like image 113
Crater Avatar answered Nov 18 '22 17:11

Crater