title: How do I setup a SSL certificate for an express.js server?
body: <p>Before, in an older version of express, I could do this:</p>
  
  <pre><code>express.createServer({key:'keyFile', cert:'certFile'});
  </code></pre>
  
  <p>However, in newer versions of express this no longer works:</p>
  
  <pre><code>var app = express();
  </code></pre>
  
  <p>Should I call <code>app.use()</code> to set the certs? If so how?</p>