`openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt` ```javascript const options = { key: fs.readFileSync('localhost.key'), cert: fs.readFileSync('localhost.crt'), }; const server = https.createServer(options, app); ```