title: Secure websocket (WSS) certificate signing
body: <p>I have a website <code>https://www.foo.com</code> and on this site I connect to other machines with a websocket (some random ip address of a machine that has our software running on it). i.e. I connect to a websocket running on <code>ws://123.45.67:80</code></p>
  
  <p>The problem is that this site is served over HTTPS and the websocket server that I want to connect to then also requires a secure connection (WSS) and won't work with a regular websocket (WS). </p>
  
  <p>The question is: <strong>how do I sign the certificate that will reside on each websocket server that is not on my domain? Can I use the certs from the main site <code>https://www.foo.com</code> to sign a x509 cert for the websocket server on an arbitrary domain?</strong></p>
  
  <p>I'm using <a href="https://github.com/statianzo/Fleck" rel="noreferrer">Fleck</a> as the websocket server</p>