Basic Install
- Log in to FreeNAS GUI
- Click Plugins on top menu bar
- Choose Subsonic -> Install
- Refresh
- Click Plugins on top again
- Turn SubSonic on
- Add storage to your music folder and make sure it is mounted
- Click SubSonic in Plugins dropdown in left menu
- Click the link to visit subsonic (localip:4040) and update admin password
HTTPS
Make sure you have both a CA and a certificate (can be generated in System > CAs / System > Certificates). Download the .key and .crt for both and move them somewhere you can access them (in storage on your subsonic jail)
- SSH into FreeNAS box
- run
jls
to view jails which will return all your active jails with ids - Find your subsonic jail ID and run
jexec ID
replacing ID with the appropriate number - You should now see something like this
root@subsonic_1:/
- Run the following (assuming you have a CA of "SSH-CA" and a certificate of "SubSonic"):
cd /mnt/software
cat SubSonic.crt SubSonic.key SSH-CA.crt > subsonic.crt
openssl pkcs12 -in subsonic.crt -export -out subsonic.pkcs12
- You should be able to use any password when in prompts you, not 100% if you can use different password for later step when you create the keystore
/usr/pbi/subsonic-amd64/bin/keytool -importkeystore -srckeystore subsonic.pkcs12 -destkeystore subsonic.keystore -srcstoretype PKCS12 -srcstorepass subsonic -srcalias 1 -destalias subsonic
cp subsonic.keystore /subsonic.keystore
- Go back to FreeNAS GUI and click the Subsonic icon in plugins on the left. Select "Enable SSL" and browse to your root folder and select the keystore file.
after failing during step 5, I was able to successfully generate my own keystore using only this: