Skip to content

Instantly share code, notes, and snippets.

@manueldev
Created November 26, 2021 17:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manueldev/c5ad0a913ca4c08826c90ffe96e9dfeb to your computer and use it in GitHub Desktop.
Save manueldev/c5ad0a913ca4c08826c90ffe96e9dfeb to your computer and use it in GitHub Desktop.
icecast kh windows SSL HTTPS
Download https://certifytheweb.com/
Certificate: add your domain
Authorization: http-01, C:\program files\icecast kh
Deployment: No Deployment
Tasks: add Deploy to generic server (mult purpose).
Task Parameters:
C:\Program Files\Icecast KH\cert.pem
C:\Program Files\Icecast KH\privkey.pem
C:\Program Files\Icecast KH\fullchain.pem
C:\Program Files\Icecast KH\chain.pem
Tasks: add Run...
Task Parameters:
Program: C:\Program Files\Git\mingw64\bin\curl.exe
Arguments: "http://icecastusername:icecastpassword@127.0.0.1/admin/function.xsl?perform=updatecfg"
<icecast>
<limits>
<sources>40</sources>
<workers>2</workers>
<clients>550</clients>
</limits>
<authentication>
<source-password>yourpass</source-password>
<admin-user>admin</admin-user>
<admin-password>yourpass</admin-password>
</authentication>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>yourhostname.com</hostname>
<listen-socket>
<port>80</port>
</listen-socket>
<listen-socket>
<port>443</port>
<ssl>1</ssl>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<ssl-private-key>.\privkey.pem</ssl-private-key>
<ssl_certificate>.\fullchain.pem</ssl_certificate>
<logdir>.\logs\</logdir>
<webroot>.\web\</webroot>
<adminroot>.\admin\</adminroot>
<alias source="/" dest="/index.html"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>
</icecast>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment