Here's the scenario I'm working on: We have an html5, javascript web client that is served by our website. This client communicates with our desktop application using websockets. It's the desktop application that acts as a websocket server. The server from which the web client is downloaded is secured with ssl. The problem is that if the client is downloaded with ssl, firefox forces all future websocket communications to be secured with ssl. The question is how can I an get a valid ssl certicate (self signed certificate won't do) for a server that runs on the localhost? Is there a way to workaround this constraint?
Thanks.