NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bozolino1
Mar 29, 2011Aspirant
Enabling https for Subsonic?
the offical subsonic "getting started" page at http://www.subsonic.org/pages/getting-started.jsp
gives these instructions:
Can anyone please give instructions on how to do this on the ReadyNas?
I couldn't find /etc/default/subsonic
(running subsonic add-on 2.0 with ffpmeg add-on 1.2)
gives these instructions:
4 Using https
For improved security you can turn on https encryption. On Windows, open the Subsonic Control Panel by clicking on the Subsonic tray icon, then enable https on the specified port (default 443).
On Linux, add --https-port=4443 (or any other port) to SUBSONIC_ARGS in /etc/default/subsonic (Ubuntu/Debian) or /etc/sysconfig/subsonic (Fedora/RPM).
Can anyone please give instructions on how to do this on the ReadyNas?
I couldn't find /etc/default/subsonic
(running subsonic add-on 2.0 with ffpmeg add-on 1.2)
14 Replies
Replies have been turned off for this discussion
- xsspeed03Aspirant@fdullemond
That's a very good point.
I tried going though the steps above to enable https, but can't get it to work. I get an error page. Something about the SSL record being too long. Any ideas? - fdullemondAspirantnot really.....
perhaps see whether you can run frontview in https, if not than its probably something with the java libraries subsonic is using... - ThotoTutorGreat news, friends !
I found how to make it work using the latest release...
you have to edit subsonic.sh, adding the SUBSONIC_HTTPS_PORT=4043 thing, as we had to do...
BUT... the way arguments are passed seems to have changed, and the bottom of the script lacks a line for sending the https port.
so, you must add
-Dsubsonic.httpsPort=${SUBSONIC_HTTPS_PORT} \
near the other arguments lines... And then, it looks like:
/c/webroot/subsonic/jre1.6.0_20/bin/java -Xmx${SUBSONIC_MAX_MEMORY}m \
-Dsubsonic.home=${SUBSONIC_HOME} \
-Dsubsonic.host=${SUBSONIC_HOST} \
-Dsubsonic.port=${SUBSONIC_PORT} \
-Dsubsonic.httpsPort=${SUBSONIC_HTTPS_PORT} \
-Dsubsonic.contextPath=${SUBSONIC_CONTEXT_PATH} \
-Dsubsonic.defaultMusicFolder=${SUBSONIC_DEFAULT_MUSIC_FOLDER} \
-Dsubsonic.defaultPodcastFolder=${SUBSONIC_DEFAULT_PODCAST_FOLDER} \
-Dsubsonic.defaultPlaylistFolder=${SUBSONIC_DEFAULT_PLAYLIST_FOLDER} \
-jar /c/webroot/subsonic/subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &
Don't forget to stop.sh and start.sh and... tadaaaa ! it works using HTTPS ! - ThotoTutorHi All,
looks like SuperPoussin made the update for passing arguments I was talking about previously, in the latest plugin version.
All you have to do now is as before, setting the SUBSONIC_HTTPS_PORT variable.
Bye !
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!