CentovaCast Enable SSL on icecast

Before you can get SSL work, you need to compile icecast with SSL. If icecast is not installed with SSL support, it will ignore settings and just serve the stream using non HTTPS.

To install icecast with SSL support, download icecast from

https://icecast.org/download/

You need to verify SSL supported enabled. If you don’t have SSL support, you will see following error.

If SSL enabled, you can verify it with

You will see something like

If you get SSL disabled message, you need to install openssl-dev package

If SSL enabled, install icecast with

Replace icecast provided with CentovaCast with

Enable SSL for stream

You need to edit icecast config for each user to do this. Config file stored at

Find

Replace with

Here port 8005 is whatever port used by the stram. 9005 can be any unused port. It is better just use a port same format, so you know what port SSL will be running on.

Find

Add Below

Now create a file

Paste your SSL in following order

Stop and start icecast in CentovaCast.

Here is a server.conf file for a user with SSL enabled.

https://gist.github.com/serverok/57ae398bb94aa61d9945f2405c73e221/raw

See Centova Cast

centovacast

Install SSL on Centova Cast

centovacast

Edit file

Find

Add below

Restart Centova Cast

At this point, you will be able to access Centova Cast on port 80 at

To install LetsEncrypt Free SSL certificate, run

Restart Centova Cast

Now you will be able to access Centova Cast using HTTPS.