Enabling HTTPS/SSL on OS X?

Need help? Post your questions here.

Moderator: moderators

Enabling HTTPS/SSL on OS X?

Postby RRRob » Tue Jul 05, 2011 7:01 am

<-------------------------Subsonic Help Request---------------------->
Problem Description: Looking to enable HTTPS/SSL in Subsonic OS X server.
Troubleshooting Steps: Have searched through the Subsonic settings, set-up documentation, the wiki, and the forums for more information. Have also checked within the Subsonic application bundle for any obvious settings file that I could edit to enable this.
Playback Application and version: Subsonic Flash player (JW Player 5.6.1768) in web browser via remote connection.
Subsonic Version: 4.5.beta1 (build 2285) – June 19, 2011
Server Version: jetty-6.1.x, java 1.6.0_26, Mac OS X (82.3 MB / 97.9 MB)
Hardware Platform: Mac OS X 10.6.8, 2.8GHz Intel Core 2 Duo, 4GB RAM
Router: Netgear WNDR3700, port forwarding enabled on port 4040.
Java Memory Limit: Where to find in OS X?
Problem Filename: N/A
Output from ffmpeg -i: N/A
Last ten log file lines: N/A
<-------------------------Subsonic Help Request---------------------->
There doesn't seem to be an obvious setting to enable HTTPS/SSL inside the OS X version of Subsonic like the Windows version, and I've been unable to find an equivalent to the Linux SUBSONIC_ARGS file to edit to enable HTTPS/SSL that way. The player works correctly over HTTP, so I know I have everything else configured correctly.
User avatar
RRRob
 
Posts: 11
Joined: Mon Jun 27, 2011 6:02 pm

Postby tisumi » Wed Jul 06, 2011 8:11 am

Short Version
1. File you need to modify: /Application/Subsonic.app/Contents/Info.plist
2. Look for this line in the file: <key>subsonic.httpsPort</key>
3. In the following line, put the desired desired port number in between the <string> tags

Long Version
1. In Finder, go to your Applications directory and right-click on the Subsonic application icon
2. Select "Show Package Contents"
3. A new Finder window should open with a single directory called "Contents"
4. Open the "Contents" directory
5. Right-click on the Info.plist flie and select "Open With -> Other"
6. Double-click on the TextEdit application and the file will be opened
7. Look for this line in the file: <key>subsonic.httpsPort</key>
8. In the following line, put the desired desired port number in between the <string> and </string> tags, <string>1234</string> for example
9. Save the file and restart Subsonic


Once SSL is enabled, your browser will give you a warning that the security certificate cannot be verified. Not sure how to get around this, but you can ignore the warning and login as usual.
tisumi
 
Posts: 1
Joined: Wed Jul 06, 2011 7:50 am

Postby RRRob » Thu Jul 07, 2011 4:32 am

Thanks! :D I saw that setting in passing, but I thought that was where the setting for the non-SSL streaming port was stored. Seems to work fine going out to the dynamic DNS domain name I set up for the server (subsonic.org's forwarding directly to the IP address isn't conducive to using a password manager to handle the login) from inside the local network, but tomorrow at work will be the real proof.
User avatar
RRRob
 
Posts: 11
Joined: Mon Jun 27, 2011 6:02 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 32 guests