RPi-Monitor icon indicating copy to clipboard operation
RPi-Monitor copied to clipboard

Needs HTTPS support soon…

Open Synetech opened this issue 3 years ago • 5 comments

With browser aggressively moving towards an HTTPS-only web, this is one of the few sites/services that I use which still requires HTTP and now requires special permissions/extra clicks to view. RPi-Monitor will need to run on HTTPS soon.

My server already has an HTTPS certificate which my web-server/blog and Pi-hole use; I don't see why RPi-Monitor couldn't piggyback on that.

Synetech avatar Nov 28 '20 16:11 Synetech

Surely this is a problem with your configuration rather than RPi Monitor?

wrapper avatar Nov 28 '20 18:11 wrapper

It's got nothing to do with my configuration. RPi Monitor isn't running under the web service (apache, nginx, etc.), it runs under its own service (using perl), so it needs to separately support HTTPS.

Synetech avatar Nov 28 '20 18:11 Synetech

As describe in this URL, RPi-Monitor will not provide any HTTPS support natively. You need to setup a web server as a reverse proxy (nginx in the tutorial listed above).

Leepic avatar Nov 28 '20 23:11 Leepic

It's not ideal, but it's doable. I wasted a lot of time trying to get it to work because I forgot to forward the port in my router. 🤦 Otherwise, it actually takes very little to set it up (even in Apache).

Maybe someday they'll include built-in support as the web evolves and HTTPS becomes mandatory and easier to implement.

Synetech avatar Nov 29 '20 04:11 Synetech

You mention this URL, but it is about adding Nginx webserver in front of RPi-Monitorto provide https and authent. I did a quick and dirty update directly on RPi-Monitor to add authentication (basic-auth), by modify the Run loop of the Server package. But I started my modification by directly modifying the code of /usr/bin/rpimonitord (version 2.12-r0), I'm now porting in on the develop branch and do a PR in a few days.

psa-jforestier avatar Apr 29 '21 16:04 psa-jforestier