在安装了Ubuntu 14.04 LTS的服务器上安装Icecast2 2.4.1,并提供SSL支持。也在这台服务器上工作HTTPS网站。 我想在页面上插入HTML5播放器,它也会通过SSL流(否则 - 混合内容错误)。 该网站有一个商业SSL证书Icecast - 一个自签名的。 的Icecast配置文件:为什么Icecast2不想通过https提供流?
<icecast>
<location>****</location>
<admin>[email protected]*************</admin>
<limits>
<clients>1000</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<source-timeout>10</source-timeout>
<burst-on-connect>0</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>*****</source-password>
<relay-password>*****</relay-password>
<admin-user>*****</admin-user>
<admin-password>*****</admin-password>
</authentication>
<hostname>************</hostname>
<listen-socket>
<port>8000</port>
<ssl>1</ssl>
</listen-socket>
<mount>
<mount-name>/stream</mount-name>
<charset>utf-8</charset>
</mount>
<mount>
<mount-name>/ogg</mount-name>
<charset>utf-8</charset>
</mount>
<fileserve>1</fileserve>
<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="/" dest="/status.xsl"/>
<ssl-certificate>/etc/icecast2/icecast2.pem</ssl-certificate>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast2</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
证书所生成的Icecast(/etc/icecast2/icecast2.pem):
OpenSSL的REQ -new -newkey RSA:2048 -days 365 -nodes -x509 -keyout icecast2.pem退房手续icecast2.pem
我希望从地址https://domain.name:8000/streamhttps://domain.name:8000/ogg插入到通过标签音频播放器,但在应对获取输出流 - 沉默。因此,一个简单的http地址的一切工作正常。 我不明白什么都是相同的错误... 在此先感谢您的帮助!