Reputation: 3238
I set using in my asp.net mvc application SSL Enabled = true
(so now is https://localhost:63892/
and http://localhost:12555/
, but when I run application via Debug, it said "Secure Connection Failed". What I'm doing wrong?
Upvotes: 4
Views: 8623
Reputation: 590
Adding this in case if helps anyone: Using VisualStudio 2015, Windows 10, and IIS10 Express, even though I added the certificate I still wasnt able to access localhost over HTTPS. I resolved by uninstalling IIS10 Express and install IIS8 Express. I was then able to access localhost over HTTPS.
Upvotes: 0
Reputation: 23494
Make sure the self-signed certificate that Visual Studio generated is trusted. The certificate is called IIS Express Development Certificate
Upvotes: 3