1. Make sure sure you have acquired the SSL Certificate , and copy in the following directory
    ./config /sslcertificate/
  2. Rename certificate file as described below :
    privateKey: key.txt',
    certificate: certificate.txt’,
    ca: magoware.ca-bundle.txt’
  3. Change in production mode - File server.js
  4. Run the server using : sudo node server.js and will automatically switch to https


By default the server will run on port 443 which is the one used for running https server, so make sure the port is not busy with other services.