[Solved] SSL Keystore

Mission accomplished!

[Solved] SSL Keystore

Unread postby 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?
TastyJams
 
Posts: 56
Joined: 30 Aug 2014, 19:46
Has thanked: 2 times
Been thanked: 21 times

Re: SSL Keystore

Unread postby Madevil » 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
User avatar
Madevil
Administrator
Administrator
 
Posts: 941
Joined: 07 Dec 2012, 03:58
Has thanked: 1338 times
Been thanked: 964 times

Re: [Solved] SSL Keystore

Unread postby TastyJams » 18 Sep 2015, 18:19

Thank you! Worked perfectly.
TastyJams
 
Posts: 56
Joined: 30 Aug 2014, 19:46
Has thanked: 2 times
Been thanked: 21 times

Re: [Solved] SSL Keystore

Unread postby apastuszak » 03 May 2016, 05:24

Where on Linux do I add these arguments?
apastuszak
 
Posts: 18
Joined: 30 Oct 2013, 03:51
Has thanked: 1 time
Been thanked: 7 times


Return to Solved Requests

Who is online

Users browsing this forum: No registered users and 1 guest