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: 4 Using https For improved security you can turn on https encryptio...
Thoto
Jun 18, 2013Tutor
Great 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 !
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 !
Related Content
NETGEAR Academy

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