title: How to configure https support in 443 for apache AND node?
body: <p>Actual state:</p>
  
  <p><a href="http://www.example.com/mypage" rel="nofollow noreferrer">http://www.example.com/mypage</a> <strong><em>apache http: OK!</em></strong><br>
    <a href="https://www.example.com/mypage" rel="nofollow noreferrer">https://www.example.com/mypage</a> <strong><em>apache https: OK!</em></strong>  </p>
  
  <p><a href="http://www.example.com:8000" rel="nofollow noreferrer">http://www.example.com:8000</a> <strong><em>node http: OK!</em></strong><br>
    <a href="https://www.example.com:8000" rel="nofollow noreferrer">https://www.example.com:8000</a> <strong><em>node https: Not working (still)</em></strong>  </p>
  
  <p>I've tried to modify node program to be</p>
  
  <pre><code>var express = require('express');
  var app = express();
  var https = require('https');
  var fs = require('fs');
  
  var server = http.createServer(app);
  
  https.createServer({ 
          key: fs.readFileSync("/etc/letsencrypt/live/www.example.com/privkey.pem"),
          cert: fs.readFileSync("/etc/letsencrypt/live/www.example.com/fullchain.pem"),
          ca: fs.readFileSync("/etc/letsencrypt/live/www.example.com/chain.pem")
  }, app).listen(443);
  </code></pre>
  
  <p>The obvious problem here is that apache is ALREADY listenning to port 443, then</p>
  
  <pre><code>Error: listen EADDRINUSE :::443
  </code></pre>
  
  <p>Is there a way to use Apache 443 to serve SSL for node? </p>