HTTPS with Android Client and SS on Ubuntu
Posted: Wed Feb 22, 2012 5:24 am
I'm new to Subsonic - just installed it tonight. I want to use HTTPS exclusively. My only client (so far) is the Android Subsonic app. I don't know how to set up HTTPS.
Here are my settings.
I set up manual router port forwarding (because UPnP only seems to set up HTTP access). Here are my settings:
application: subsonic
protocol: both
source net: <blank>
port from: 4443
port to: 4443
IP address: <my Ubuntu server's LAN IP of 192.168.x.y>
enable: checked
I am using these args:
SUBSONIC_ARGS="--https-port=4443 --max-memory=120"
After changing the settings, I rebooted my router and restarted SS:
sudo service subsonic restart
The HTTPS settings do not work. In the Android client, after I set it up and click "Test" it returns "a network error occurred".
I tried a couple of different settings in the Android client, including:
[*]https://myname.subsonic.org
[*]https://myname.subsonic.org:4443
[*]https://myname.subsonic.org:443 (with alternate port forwarding settings)
(I also tried changing the port forwarding to forward from 443 to 4433 with the server address https://myname.subsonic.org)
I'm using the included SSL certificate. Locally, I can enter the HTTPS address in a browser and it works:
https://192.168.x.y:4443/
I can successfully log in, after I got the certificate warning the first time.
The HTTP network access still works from the Android client too. (I'll delete the UPnP entry as soon as HTTPS is working.)
Any help with HTTPS? Thanks
Here are my settings.
I set up manual router port forwarding (because UPnP only seems to set up HTTP access). Here are my settings:
application: subsonic
protocol: both
source net: <blank>
port from: 4443
port to: 4443
IP address: <my Ubuntu server's LAN IP of 192.168.x.y>
enable: checked
I am using these args:
SUBSONIC_ARGS="--https-port=4443 --max-memory=120"
After changing the settings, I rebooted my router and restarted SS:
sudo service subsonic restart
The HTTPS settings do not work. In the Android client, after I set it up and click "Test" it returns "a network error occurred".
I tried a couple of different settings in the Android client, including:
[*]https://myname.subsonic.org
[*]https://myname.subsonic.org:4443
[*]https://myname.subsonic.org:443 (with alternate port forwarding settings)
(I also tried changing the port forwarding to forward from 443 to 4433 with the server address https://myname.subsonic.org)
I'm using the included SSL certificate. Locally, I can enter the HTTPS address in a browser and it works:
https://192.168.x.y:4443/
I can successfully log in, after I got the certificate warning the first time.
The HTTP network access still works from the Android client too. (I'll delete the UPnP entry as soon as HTTPS is working.)
Any help with HTTPS? Thanks