looking for an http-in node to handle ssl inbound web services -


does know of replacement node http-in ssl? thinking alternative start nodejs https-server?

any suggestions great.

thanks, den

you don't need replacement node (and don't believe there need instantiate it's own https server independent node-red), configure node-red listen https connections.

how configure node-red listen on https in settings.js (found in node-red user directory, ~/.node-red , included in first few lines of node-red log)

// `https` setting requires `fs` module. uncomment following // make available: //var fs = require("fs"); ... // following property can used enable https // see http://nodejs.org/api/https.html#https_https_createserver_options_requestlistener // details on contents. // see comment @ top of file on how load `fs` module used // setting. // //https: { //    key: fs.readfilesync('privatekey.pem'), //    cert: fs.readfilesync('certificate.pem') //}, ... 

more details can found in blog post here


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -