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.
Create an SSL BindingClick Add... to add your new SSL binding to the site. The default settings for a new binding are set to HTTP on port 80. Select https in the Type drop-down list. Select the self-signed certificate you created in the previous section from the SSL Certificate drop-down list and then click OK.
In the Connections pane, locate and click the server. In the server Home page (center pane) under the IIS section, double-click Server Certificates. In the Actions menu (right pane), click Create Certificate Request.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With