title: Cannot open SSL Key File in Node server - ENOENT
body: <p>I'm attempting to deploy a project I inherited to heroku using grunt buildcontrol for the first time. Though I am able to build and deploy, on running I get an error:</p>
  
  <blockquote>
    <p>ENOENT: no such file or directory, open 'ssl/keys/server.key'</p>
  </blockquote>
  
  <p>Checking the dist directory, indeed there is no ssl directory. Thusly, I've added it to /dist to no avail. Thinking that app.js inside of /dist/server/ might be scoped to that directory, I copied the ssl directory there - again the same issue. Inside of /dist/server/app.js:</p>
  
  <pre><code>var options = {
    key: fs.readFileSync('ssl/keys/server.key'),
    cert: fs.readFileSync('ssl/keys/server.crt')
  };
  
  // Setup server
  var app = express();
  var server = require('https').createServer(options, app);
  </code></pre>
  
  <p>Where is it going to look for the ssl directory if not inside the server folder?</p>