baronbrew / TILTpi

Baron Brew Equipment Official Tilt app for Raspberry Pi
62 stars 18 forks source link

Enabling https requires the acl package for setfacl #8

Open billsegall opened 5 years ago

billsegall commented 5 years ago

The acl package should probably be added to the dependencies and to the disk images

noahbaron commented 5 years ago

Thanks for your comment. Is there a good reference you can point me to? Is this to setup node-red as an https server?

billsegall commented 5 years ago

Yes, I was trying to set up node-red over https as I wanted to secure a tiltpi install so I might use it from outside my firewall. The error message was quite confusing and since I'd diagnosed it I thought it might be usefully done in the next release.

Ideally the disk image would have https enabled by default but I should mention that I had more problems than this issue and did not get it working. I'll revisit at some point.

The disk image's /home/pi/.node-red/settings.js file is where the config gets done and you also need a self signed key (or perhaps letsencrypt might be better).

node-red doc is at https://nodered.org/docs/configuration