Get SSL to work...Subsonic on QNAP TS239 Pro2

Need help? Post your questions here.

Moderator: moderators

Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Mon Feb 20, 2012 11:02 pm

Hi there....

Do anyone in here have experience with getting a QNAP to work with SSL on Subosnic.

- war install
-- running under TomCat
- qnap ts 239 Pro 2'
-- fw 3.6 (latest)
- subsonic is v4.6 beta 2

Looking forward to hear from you.

Thank you.
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Tue Feb 21, 2012 8:27 pm

Anyone with an idea?

Thank you.
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby bushman4 » Wed Feb 22, 2012 7:18 pm

What is not working? I've never setup subsonic on a NAS, but the principals should all be the same...

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Wed Feb 22, 2012 8:26 pm

bushman4 wrote:What is not working? I've never setup subsonic on a NAS, but the principals should all be the same...

Glenn


Hi Glenn,

I don't know if anything is not working. My challenge is that I don't know how to setup subsonic to use SSL on my NAS (QNAP).

Btw it's the WAR deployment I use on the QNAP.

Thank you.
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby bushman4 » Wed Feb 22, 2012 8:31 pm

Well you must have some kind of config file where you set the subsonic.port variable. Do you know where that is?

If so, it should be as simple as adding a line setting the "subsonic.httpsport" to the port that you want https to use and restarting the service.

Once subsonic sees that there is a https port set up, it will redirect to it automatically.

HTH,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Wed Feb 22, 2012 8:34 pm

bushman4 wrote:Well you must have some kind of config file where you set the subsonic.port variable. Do you know where that is?

If so, it should be as simple as adding a line setting the "subsonic.httpsport" to the port that you want https to use and restarting the service.

Once subsonic sees that there is a https port set up, it will redirect to it automatically.

HTH,

Glenn


Thank you for replying.

I can't find the subsonic.sh file and I don't think I have one. As I'm running on the WAR deployment of Subsonic. I have the catalina.properties which I have used to redirect the subsonic location (on QNAP the var location is cleared on every reboot).
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby bushman4 » Thu Feb 23, 2012 1:14 am

It must be that then... what are the contents of that file right now?

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Thu Feb 23, 2012 9:33 pm

Hi...

--- this is the content of catalina.properties

#
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.

#
#
# List of comma-separated paths defining the contents of the "common"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
# If left as blank,the JVM system loader will be used as Catalina's "common"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar

#
# List of comma-separated paths defining the contents of the "server"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
# If left as blank, the "common" loader will be used as Catalina's "server"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
server.loader=

#
# List of comma-separated paths defining the contents of the "shared"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
# the "common" loader will be used as Catalina's "shared" loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
# Please note that for single jars, e.g. bar.jar, you need the URL form
# starting with file:.
shared.loader=

#
# String cache configuration.
tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trainThreshold=500000
#tomcat.util.buf.StringCache.cacheSize=5000

#
# Defining Subsonic home dir. Moving it away from var, which is
# a RAM disk
subsonic.home=/share/MD0_DATA/Subsonic

--- end of catalina properties

--- Personally I don't think this is the file.

Looking forward to your answer.

Thank you.
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby bushman4 » Fri Feb 24, 2012 1:05 pm

How do you start the Subsonic server on your NAS?

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Fri Feb 24, 2012 8:55 pm

Hi Glenn,

I starts when I boot the QNAP. Tomcat takes care of that. Subsonic is the WAR deployment and thereby "installed" in Tomcat.

I hope that helps.
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark

Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Postby redranger » Mon Nov 04, 2013 11:07 pm

Anyone has an idea on this topic?

Thank you.
Thank you for your help.
Regards!
/Redranger
redranger
 
Posts: 30
Joined: Thu Aug 19, 2010 7:04 pm
Location: Denmark


Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests