Page 1 of 1

[Solved] SSL Keystore

Posted: 17 Sep 2015, 05:55
by TastyJams
Hello,

I had my own signed SSL certificate running with build 5260. When upgrading to 7450, I transferred my subsonic.keystore (renamed as madsonic.keystore) into the new madsonic-booter.jar. Upon running I am not able to connect. SSL works fine with the default SSL key but I don't want to use that. What am I doing wrong?

Re: SSL Keystore

Posted: 18 Sep 2015, 16:31
by Madsonic
Hi there,

The only difference is that since Madsonic 6 the alias and password for the keystore is madsonic.

How to create a new keystore:

Code: Select all

keytool -genkey -v -keystore madsonic.keystore -alias madsonic -storepass madsonic -keyalg RSA -validity 100000 -dname "CN=madsonic.org, O=Madsonic"

keytool -list -v -keystore madsonic.keystore -storepass madsonic
This should do the trick :D

BTW: if you don't want to edit your booter file each time, you can add this arguments

Code: Select all

  -Dmadsonic.ssl.keystore=/var/tmp/my.keystore 
  -Dmadsonic.ssl.password=mypassword 
best regards

Re: [Solved] SSL Keystore

Posted: 18 Sep 2015, 18:19
by TastyJams
Thank you! Worked perfectly.

Re: [Solved] SSL Keystore

Posted: 03 May 2016, 05:24
by apastuszak
Where on Linux do I add these arguments?