[Solved] SSL Keystore

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

[Solved] SSL Keystore

Unread post 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?
These users thanked the author TastyJams for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: SSL Keystore

Unread post 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
TastyJams
Posts: 59
Joined: 30 Aug 2014, 19:46
Has thanked: 2 times
Been thanked: 22 times

Re: [Solved] SSL Keystore

Unread post by TastyJams »

Thank you! Worked perfectly.
These users thanked the author TastyJams for the post:
Madsonic
Rating: 7.69%
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 »

Where on Linux do I add these arguments?
Post Reply