Add SSL support

Hi all,
sorry, maybe already asked, but I need to add SSL support to my Volumio (Raspberry Pi 3B). I need to access through https instead of http 'cause I need the url to be parsed via https iframe.

Thanks to all

It’s not possible on local address to put HTTPS, for various reasons.
The only way I can think of is using MyVolumio, where the device is accessed remotely via https

So the only way is to pay?

To have HTTPS support unfortunately is not possible on a local network (you can self sign certificates but you can’t handle dynamic IP addresses which will inevitably change).
You can build your own cloud platform with reverse proxy if you want, or use something like ngrok.
Or, you can use myvolumio which has everything done for you.

Even a self signed certificate would be ok: I don’t need to access Volumio from external. I’ll access my Home Automation from external.
Within that I have an iframe that links the Volumio local IP (that will never change).

But external IP is https, and so has to be the Volumio local IP (otherwise iframe will not work)

Is there a way to achieve this?

Of course it is possible to use HTTPS on the local network. I have Plex, Portainer, Home Assistant and Unifi all using certificates issued by Let’s Encrypt. Indeed, I wrote a blog on how to do it. Let’s Encrypt everything using | Sparks from the Anvil

I only access Home Assistant externally, the rest were set up with SSL because my work laptop would not connect to the sites otherwise.

Of course the setup is specific to each piece of software, but there is certainly no reason why volumio could not support the option.

1 Like

Having just read the Volumio architecture document, Express.js provides SSL/TLS support as documented here Security Best Practices for Express in Production

It is possible if you do it yourself, setting up a custom domain on your own and directing to your home network and port.
It’s not something we can do on Volumio’s wise scale, for a number of reasons.

So, following the guide you can perfectly do it for your network and your volumio install, but you are on your own there…