In case anyone's still following this thread, it is possible to create a self-signed certificate with the domain name you need (e.g. localhost). I just spent half a day researching the subject, and finally found out how to use a command line tool such as MakeCert.exe to solve the problem. I wrote...