title: How can you get yourself a key and certificate pair for using in https?
body: <p>I am trying to use the https module in Node.js.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>var options = {
      key : &lt;key comes here&gt;,
      cert : &lt;key comes here&gt;
  };
  
  https.createServer(options, app).listen(app.get('port'));
  </code></pre>