Replies: 1 comment
-
Hello @daw654. Liquidsoap supports ssl certificate configuration for inbound streaming
I've never tried to setup ssl with liquidsoap and icecast, because it's very primitive.
Maybe the better way is to setup an nginx gateway, because it supports a lot of ssl options. Generally speaking about openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout server.key -out server.crt -subj "/CN=localhost" -days 3650 And then run this liquidsoap script. settings.harbor.ssl.certificate.set("server.crt")
settings.harbor.ssl.private_key.set("server.key")
a = input.harbor.ssl(port = 8000, "live")
output.harbor.ssl(port = 8001, mount = "radio", %mp3, mksafe(a)) Remember not all streaming clients will support ffplay https://localhost:8001/radio And stream with command
This is the liquidsoap part. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've set up a liquid soap instance and got it running on port 8000 but not sure how to stream with SSL so the Icecast stream has HTTPS.
My Icecast server has SSL working on port 443 and I can connect to it on a PC via B.U.T.T.
Any ideas?
*Edit - Icecast already creates the stream on port 443 anyway so discard this question.
Beta Was this translation helpful? Give feedback.
All reactions