[Icecast] Icecast and HTTPS

Wangr Wang at pc-factory.at
Mon Jan 4 18:00:50 UTC 2021


Hello to all!

I have tried for days now to use icecast2 (version 2.4.99.2) with
HTTPS. Been through so many manuals and howtos, but nothing works.

I have used the Debian version, as well as compiled from source.

Ports 8000 and 8443 are open on the firewall.


Here is some relevant info:

/etc/icecast2/icecast.xml:

<listen-socket>
  <port>8000</port>
</listen-socket>
<listen-socket>
  <port>8443</port>
  <ssl>1</ssl>
</listen-socket>

<http-headers>
  <header name="Access-Control-Allow-Origin" value="*" />
</http-headers>

<paths>
  <basedir>/usr/share/icecast2</basedir>
  <logdir>/var/log/icecast2</logdir>
  <webroot>/usr/share/icecast2/web</webroot>
  <adminroot>/usr/share/icecast2/admin</adminroot>
  <alias source="/" destination="/status.xsl"/>
  <ssl-certificate>/usr/share/icecast2/web/bundle.pem</ssl-certificate>
  <ssl-private-key>/usr/share/icecast2/web/bundle.pem</ssl-private-key>
</paths>

The bundle.pem file contains the privkey.pem and fullchain.pem files
of the dehydrated (let's encrypt) certificates, in this order.


ices2 config file:

<instance>
  <port>8443</port>
</instance>

with <port>8000</port> (HTTP) it works, not with 8443 (HTTPS).


I am thankful for any help!


More information about the Icecast mailing list