title: SSL with SocketIO
body: <p>I am working on a project which is using nodeJs/socket.io. Web page is secured with ssl, but socket.io connection has no ssl.  </p>
  
  <p>I am getting this error:</p>
  
  <pre><code>The page at 'https://www.mydomain.com/' was loaded over HTTPS, but displayed
  insecure content from 'http://socket.io.connection:1234/socket.io/1/?t=1390397': 
  this content should also be loaded over HTTPS.
  </code></pre>
  
  <p>I know,  I need to use SSL for socket.io too, but I really dont know how it works. </p>
  
  <ul>
  <li>Do I need only one certificate for web and socket.io? </li>
  <li>Can I use 2 different certificate and bind them somehow together?</li>
  <li>How can I use only one SSL certificate for 2 different servers?</li>
  </ul>