How to setup SSL on Vista with IIS 7

IIS 7 has a new UI which is different from the previous version. Here I am going to talk about how to set up the SSL via the new UI.

It is a different user experience for setting up the ssl certificate using the new IIS 7 manager.

Go to Start->Run, type “inetmgr”. This will pop up the IIS 7 manager. There are two steps to achieve this:
1) Import the server certificate: Click on the root node on the left pane, which should look like {your computer name}(domain\username}, then on the middle pane, under IIS section, you should see a “server certifcates”, double click on that, you can see a list of certificates that can be used in SSL. Import the SSL certifcate by clicking on the “import” on the right pane.
2) Add the binding: Click on the “Default Web Site” node on the left pane. On the right pane, click on the “Bindings…”, click on “Add”, then you can add https binding, and click on Edit, you can choose the certificate you just imported from the step 1.

Then launch IE, type https://localhost, and you are supposed to see the default page.