I am trying to do something that feels like it should be straightforward. I have VS2013 on Win8 and I'm just experimenting with a vanilla MVC ASP.NET project to gain some web experience. This works fine in IE10 until I try to enable SSL.
To do this, I select the project, go to the Properties window, and change the "SSL Enabled" property to "True". Then I copy the value of "SSL URL" to the "Project Url" edit box under Project/Properties/Web.
After these steps, when I try to launch the website I get a "page can't be displayed error".
Looking in the system log, I see two relevant events:
Source: Schannel, ID: 36870, Description: "A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001."
Source: HttpEvent, ID: 15021, Description: "An error occurred while using SSL configuration for endpoint 0.0.0.0:44300. The error status code is contained within the returned data."
What am I missing to be able to enable SSL? I am trying to follow the tutorial here: http://www.asp.net/mvc/tutorials/mvc-5/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on#author-info
Thanks.
The fix was to uninstall and reinstall IIS 8.0 Express. This fixed the issue on both machines.
you can check your IIS https bindings, it should attached to a certificate, I had the same problem, my certificate was removed from IIS binding and I got the same error as above.
User contributions licensed under CC BY-SA 3.0