title: WebRTC over HTTPs Issue
body: <p>I have created a simple WebRTC application that works fine in testing overlocal host; However, WEBRTC isn't much use unless you have a secure connection, as browsers now will not run GetUserMedia unless you have HTTPs, so I am 'trying' to upgrade it for SSL-TLS. Below is a screen shot of my two applications side by side, one secure (<em>not working</em>) the other non secure (<em>works</em>)</p>
  
  <p><a href="https://i.stack.imgur.com/dXK1m.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dXK1m.jpg" alt="enter image description here"></a></p>
  
  <p>As you can see above, localhost 'connects' while HTTPs 'can't establish connection'.  I am new to SSL, so this may be a simple one.  Just would appreciate some more eyes on this.</p>
  
  <p>I do know my HTTPS server for the the Javascript is connecting securely, see image below<a href="https://i.stack.imgur.com/3o3VH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3o3VH.png" alt="enter image description here"></a> </p>
  
  <p>Below are my code snippets.  Any help would be greatly appreciated:</p>
  
  <p><strong>SSL Client - Client.JS</strong></p>
  
  <pre><code>var connection = new WebSocket('wss://localhost:8443'),
  
  name = "";
  </code></pre>
  
  <p><strong>Non Secure Client - Client.JS</strong></p>
  
  <pre><code>var connection = new WebSocket('ws://localhost:8888'),
  
      name = "";
  </code></pre>
  
  <p><strong>Non Secure JS Server - index.JS</strong></p>
  
  <pre><code>var WebSocketServer = require('ws').Server,
  
  wss = new WebSocketServer({ port: 8888 }),
  
  users = {};
  wss.on('connection', function (connection) {
  connection.on('message', function (message) .....
  </code></pre>
  
  <p><strong>Secure JS Server - SSLindex.JS</strong></p>
  
  <pre><code> Var https = require('https'),
  
  fs = require('fs'),
  
   express = require('express'),
  
    app = express();
  
  
  var wss = https.createServer({
  key: fs.readFileSync('server.key'),
  
  cert: fs.readFileSync('server.crt'),
  
  ca: fs.readFileSync('ca.crt'),
  
  requestCert: true,
  
  rejectUnauthorized: false
   }, app).listen('8443', function() {
  console.log("Secure Express server listening on port 8443");
  });
  
   app.use("/", function(req, res, next) 
  {
   res.send("index.js is working!");
  
    });
  </code></pre>