Reputation: 1476
I'm trying to enable SSL in IIS 7 on my dev machine using a self signed cert. This is turning out to be quite frustrating.
I have followed THIS guide and several others that are almost identical. The configuration goes ok, but when I try and navigate to the website I get various errors.
http://localhost/index.htm - Results in HTTP Error 404 - Not Found.
https://localhost/index.htm - Results in Internet Explorer cannot display the webpage.
If I go into IIS and remove the https binding from the website then it works as expected (in http only obviously).
I'm gussing that there is something that needs to be set up / configured / installed in windows before this will work?
Thanks.
Upvotes: 11
Views: 23433
Reputation: 13601
You shouldn't need to reboot, it looks like IIS is not responding for some reason. Do you have Skype installed by any chance? It is unfortunately one of the most common reasons we see issues with ports.
So do this:
Also to troubleshoot in case it is a port issue:
You will be able to see the Process ID (PID) that i using that port.
Also to troubleshoot SSL, you can run in the same command prompt "netsh http show sslcert" and you should see in there the certificate you assigned.
Upvotes: 9