I was learning Node.js and the way how Https module of Node.js works. So, imagine we have this code using https module:
var https = require('https'); https.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.write('Hello World!'); res.end(); }).listen(8080); So, all is ok but the question I wanted to ask is that why do we also need to get SSL certificate? Does it mean that the use of https module without SSL certificate does not make any sense?