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

Change owner of the SSL cert file

Stop and start icecast in CentovaCast.

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

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

See Centova Cast

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *