Hi,
I’m trying to enable web authentication but unfortunately its is not working.
I followed the exact instructions provided in the link but the result is no web server at all.
Any suggestions?
Thanks,
http://industrialinternet.co.uk/node-red/adding-https-ssl-to-node-red/
Can you tell me the exact problem that you’re running into Nadav?
Is the Node-RED web server that stopped working?
Rui
Hi Rui,
Every modification I made to settings.js, the web server stopped responding.
Can you share with me settings. j’s that’s working? Maybe I’m missing something.
Thanks,
Nadav
Hi Nadav,
I hope you are doing well. I’m sorry for taking so long to answer, but I was on holidays and it was very hard to have a stable internet connection to answer emails/questions.
That’s sounds like something is missing when you copy the lines that he describes in the blog post. I personally never added HTTPS to my Node-RED installation.
Did you add these exact lines to your settings file?
},
https: {
key: fs.readFileSync(‘privkey.pem’),
cert: fs.readFileSync(‘cert.pem’)
},
You also need to add the following line before “module.exports = {“:
var fs=require(‘fs’);
Can you post here the settings file that gives you the error? I might be able to fix it for you.
Thank you for your patience,
Rui
Hi Rui,
I tried, same issue, no web server.
you can find my setting.js file here:https://www.dropbox.com/s/kx8r62b4xdvnu2y/settings.js?dl=0
Thanks
Nadav