[Solved] SSL Keystore

Mission accomplished!
TastyJams
Posts: 57
Joined: 30 Aug 2014, 19:46
Has thanked: 2 times
Been thanked: 21 times

[Solved] SSL Keystore

Unread post by TastyJams » 17 Sep 2015, 05:55

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?
These users thanked the author TastyJams for the post:
Madsonic

User avatar
Madsonic
Administrator
Administrator
Posts: 960
Joined: 07 Dec 2012, 03:58
Has thanked: 1150 times
Been thanked: 449 times

Re: SSL Keystore

Unread post by Madsonic » 18 Sep 2015, 16:31

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

TastyJams
Posts: 57
Joined: 30 Aug 2014, 19:46
Has thanked: 2 times
Been thanked: 21 times

Re: [Solved] SSL Keystore

Unread post by TastyJams » 18 Sep 2015, 18:19

Thank you! Worked perfectly.
These users thanked the author TastyJams for the post:
Madsonic

apastuszak
Posts: 18
Joined: 30 Oct 2013, 03:51
Has thanked: 1 time
Been thanked: 7 times

Re: [Solved] SSL Keystore

Unread post by apastuszak » 03 May 2016, 05:24

Where on Linux do I add these arguments?

Post Reply