- Make sure sure you have acquired the SSL Certificate , and copy in the following directory
- Rename certificate file as described below :
- Change in production mode - File server.js
- 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.