Page 1 of 1

http to https on os x

PostPosted: Tue Jun 14, 2011 6:30 pm
by plupp
Hi I want to change from http to https on OS X machine.
But where do I do this? Open the file Info.plist and send the code.
I think I'll change this
<key> subsonic.httpsPort </ key>
<string> 0 </ string>
<key> subsonic.port </ key>
<string> 4040 </ string>

but with what?
Grateful for the help!
/ plupp

This is the entire file

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Subsonic</string>
<key>CFBundleShortVersionString</key>
<string>4.4</string>
<key>CFBundleGetInfoString</key>
<string>4.4</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>false</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleIconFile</key>
<string>subsonic.icns</string>
<key>CFBundleIdentifier</key>
<string>net.sourceforge.subsonic</string>
<key>Java</key>
<dict>
<key>MainClass</key>
<string>net.sourceforge.subsonic.booter.Main</string>
<key>JVMVersion</key>
<string>1.5+</string>
<key>ClassPath</key>
<array>
<string>$JAVAROOT/subsonic-booter-jar-with-dependencies.jar</string>
</array>
<key>VMOptions</key>
<string>-Xmx2500m</string>
<key>Arguments</key>
<string>-mac</string>
<key>Properties</key>
<dict>
<key>subsonic.httpsPort</key>
<string>0</string>
<key>subsonic.port</key>
<string>4040</string>
<key>subsonic.war</key>
<string>Subsonic.app/Contents/Resources/subsonic.war</string>
<key>subsonic.defaultPodcastFolder</key>
<string>/Users/Shared/Podcasts</string>
<key>subsonic.contextPath</key>
<string>/</string>
<key>subsonic.defaultMusicFolder</key>
<string>/Users/Shared/Music/iTunes/iTunes Media</string>
<key>subsonic.home</key>
<string>/Library/Application Support/Subsonic</string>
<key>subsonic.defaultPlaylistFolder</key>
<string>/Users/Shared/Playlists</string>
</dict>
</dict>
</dict>
</plist>
[/code]

PostPosted: Sat Jun 18, 2011 9:25 pm
by Kirk
If I remember correctly, all you have to do is change the HTTPS Port's string value. A good (standard) value for that is 443.

You will, of course, need to restart Subsonic for the changes to take effect. And the security certificate will complain about being invalid when you navigate to the page. This is normal.

-Kirk

PostPosted: Mon Jun 20, 2011 8:49 am
by plupp
Thanks Kirk, made the changes from 4040 to 443 and started over with then I could not log in anymore. Got a defauld page. Continues testing grateful for suggestions!