Sorry, but you do not have the capability to view this topic
Post count: 12neuralnetMember2020-12-24 at 12:18 am #27960
- Topics: 3
- Replies: 3
- Total posts: 6
Instructions given here are for linux based hosts (Ubuntu/Debian, other distro’s may vary). Stunnel works on windows too, but the instructions will not be exactly the same.
1. Install stunnel;
sudo apt install stunnel
2. Setup letsencrypt and get your SSL/TLS certificates. Instructions here.
3. Create your stunnel config;
sudo nano /etc/stunnel/stunnel.conf
Copy/paste the following;
[shoutcast] accept=8443 connect=localhost:8000 cert=/etc/letsencrypt/live/yourdomainhere.com/fullchain.pem key=/etc/letsencrypt/live/yourdomainhere.com/privkey.pem
and save the file (CTRL-O, Enter, CTRL-X). You will need to edit the config as per your setup. accept= the port you want the SSL enabled connection to access. connect= where your HTTP shoutcast admin pages and stream are served from. Change localhost to your domain name if your shoutcast isn’t on the same server that you’re install stunnel on. Change the port from 8000 to whatever you’re using. Cert and Key are SSL certificates that you generated in step 2 (change yourdomainhere.com to your own domain name).
4. Edit the following;
ENABLED=1, so that it starts automatically.
5. Start stunnel;
sudo service stunnel4 start
6. Open up the HTTPS url, i.e.
and you should see your shoutcast pages, served up through the SSL/TLS proxy. You can now use your existing HTTP urls that you’re using for your streams by changing http:// to https:// and the port from 8000 (or whatever you’re using) to 8443 (or whatever you set in stunnel).
7. Do a little happy dance.