Using Letsencrypt SSL with Subsonic

Tutorials, tips and tricks.

Moderator: moderators

Using Letsencrypt SSL with Subsonic

Postby texxasrulez » Mon Mar 13, 2017 1:25 am

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
texxasrulez
 
Posts: 22
Joined: Thu Nov 25, 2010 11:03 pm

Re: Using Letsencrypt SSL with Subsonic

Postby gunslingerfry » Sun Oct 08, 2017 11:08 pm

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
gunslingerfry
 
Posts: 1
Joined: Sun Oct 08, 2017 11:01 pm

Re: Using Letsencrypt SSL with Subsonic

Postby acroyear » Tue Jan 16, 2018 2:42 am

These worked for me perfectly on the first try, Ubuntu 14.04. Thanks!
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 777
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest