Open skaboy71 opened 4 years ago
@skaboy71 -- wow :facepalm: I'm really sorry I missed your issue.
Unfortunately I don't have any advise to offer on this.
Good news might be this plugin is just a simple npm
install. There is nothing I'm aware of that should prevent this from working just because it's a "plugin"
@skaboy71 I made it work! So first you need to change the file /var/db/nodered/settings.js Then you need to put the full path in the .pem files For example I have:
https: {
key: fs.readFileSync('/var/db/nodered/node-key.pem'),
cert: fs.readFileSync('/var/db/nodered/node-cert.pem')
},
I haven't try yet for the others password and so on. If you need help let's talk here.
--- Edit: this also work
https: {
key: fs.readFileSync(__dirname + "/node-key.pem"),
cert: fs.readFileSync(__dirname + "/node-cert.pem")
},
Edit ---
I used openssl to create a self signed cert on the jail.
I edited the settings.js file at /usr/local/lib/node_modules/node-red .
per the instructions here: http://www.steves-internet-guide.com/securing-node-red-ssl/
I restarted the jail but it's still only listening on http.