Page 1 of 1

Using Letsencrypt SSL with Subsonic

PostPosted: Mon Mar 13, 2017 1:25 am
by texxasrulez
Here is a simple tutorial to use letsencrypt SSL Certs with Subsonic. This is on a Debian Server

cd /etc/letsencrypt/live/<domain_name>

cat privkey.pem > subsonic.crt
cat cert.pem >> subsonic.crt
cat chain.pem >> subsonic.crt

openssl pkcs12 -in subsonic.crt -export -out subsonic.pkcs12

keytool -importkeystore -srckeystore subsonic.pkcs12 -destkeystore subsonic.keystore -srcstoretype PKCS12 -srcalias 1 -destalias subsonic

zip /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar subsonic.keystore (zip must be installed or use your compression utility of choice)

Restart subsonic

service subsonic restart

Good Luck and I hope this helps

Re: Using Letsencrypt SSL with Subsonic

PostPosted: Sun Oct 08, 2017 11:08 pm
by gunslingerfry
Hey, just wanted to add that keytool complains if your openssl export password is empty. Additionally, subsonic expects your keystore password to be subsonic.

To the questions asked, subsonic for each i.e.:

Enter Export Password: subsonic
Verifying - Enter Export Password: subsonic

Enter destination keystore password: subsonic
Re-enter new password: subsonic
Enter source keystore password: subsonic

Re: Using Letsencrypt SSL with Subsonic

PostPosted: Tue Jan 16, 2018 2:42 am
by acroyear
These worked for me perfectly on the first try, Ubuntu 14.04. Thanks!