var privateKey = fs.readFileSync('./key/214278976170532.key', 'utf8');
var certificate = fs.readFileSync('./key/214278976170532.pem', 'utf8');
var credentials = {key: privateKey, cert: certificate};
var SSLPORT = 443;
var privateKey = fs.readFileSync('./key/214278976170532.key', 'utf8');
var certificate = fs.readFileSync('./key/214278976170532.pem', 'utf8');
var credentials = {key: privateKey, cert: certificate};
https.createServer(credentials, server).listen(SSLPORT, function () {
console.log('HTTPS Server is running on: https://localhost:%s', SSLPORT);
});