There'll be time when you need to enabling SSL on IIS 7.0 Using Self-Signed Certificates.
RobBagby & scottgu has 2 great tutorials on that topic. Looks like IIS7 simplify a lots.
I go to IIS and set the binding using the default port 443.
But life is not always a bed of roses.Then I hit this error message:
"There was an error while performing this operation."
"The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)"
I was wonder what caused it to happen After confirmed with network guy it's not their issue, i have to check what could be the possible reason for that.
From Microsoft Support, and also someone from stack-overflow pointed out this could be port is being used by other application.
Then I work it out from there:
1) run the "netstat" command from command prompt, to display active TCP connections, ports on which the computer is listening
2) then run the "Tasks Manager". The PID column is not displyed by default. I have to go to "View">"Select Column" and check it.
3) Compare the PID.
4) there's another process, called "nhttp.exe" is using that port. It's from Lotus Domino. :(
5) no choice but have to use another port 444. Back to the IIS site binding, and edit it.
6) of course, have to allow the firewall to let that port through by adding a new inbound rule.
7) Finally, I can browse my site.