Support #752

Install Standalone Subsonic Server on FreeBSD

Added by Daniel Curtis over 8 years ago. Updated over 8 years ago.

Multimedia Server
Target version:
Start date:
Due date:
% Done:


Estimated time:
1.00 h
Spent time:


This is a simple guide on getting subsonic up and running on FreeBSD 9.

Prepare the Environment

  • Before installation of the components, make sure everything is up to date using the following command:
    pkg update && pkg upgrade

Install Subsonic

  • Install the subsonic-standalone package:
    pkg install subsonic-standalone
  • Start and enable subsonic at boot:
    echo 'subsonic_enable="YES"' >> /etc/rc.conf
    service subsonic start

Install SSL

  • Install openssl and zip:
    pkg install openssl zip
  • Generate a strong SSL key and a CSR to send for signing by a CA:
    cd /usr/local/etc
    openssl req -sha512 -out -new -newkey rsa:4096 -nodes -keyout
  • Combine the SSL key, certificate, and CA intermediate certificate files together into a subsonic-bundle.crt file:
    cat startcom.class1.bundle > subsonic-bundle.crt
  • Next convert it to a format Subsonic understands:
    openssl pkcs12 -in subsonic-bundle.crt -export -out subsonic-bundle.pkcs12
    • When prompted enter subsonic as export password.
  • Now you should have a subsonic-bundle.pkcs12 file, we need to import this into a keystore for Subsonic to use:
    keytool -importkeystore -srckeystore subsonic-bundle.pkcs12 -destkeystore subsonic.keystore -srcstoretype PKCS12 -srcstorepass subsonic -srcalias 1 -destalias subsonic
    • When prompted enter subsonic as the password.
  • Finally we need to put the keystore into the file Subsonic uses to boot:
    zip /usr/local/subsonic-standalone/subsonic-booter-jar-with-dependencies.jar subsonic.keystore
  • Now set the subsonic_https_port in the rc.conf file and restart subsonic:
    echo 'subsonic_https_port="4443"' >> /etc/rc.conf
    service subsonic restart



Updated by Daniel Curtis over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Daniel Curtis over 8 years ago

  • Description updated (diff)

Updated by Daniel Curtis over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF