By: Anthony Supinski user 03 May 2016 at 5:58 p.m. CDT

4 Responses
Anthony Supinski gravatar
Is there any recommended mechanism to specify the AsimbaIDP.jks password when setting up a gluu server other than just editing that line in the setup.py?

By Michael Schwartz Account Admin 04 May 2016 at 12:38 a.m. CDT

Michael Schwartz gravatar
You can use the java command line tool `keytool` (included in `jre/bin`) ``` keytool -storepasswd -new [new password ] -keystore [path to key store] ``` Alternately, you could use the KeyStore Explorer GUI (see attached screenshot)

By Anthony Supinski user 04 May 2016 at 9:42 a.m. CDT

Anthony Supinski gravatar
... yes but to do that I have to know the existing keystore password, which without editing setup.py is going to be something random that is lost with the end of the python runtime. I can certainly change line 141 of setup.py from: self.asimbaJksPass = None to self.asimbaJksPass = "MyAwesomePassword" I was just wondering if editing that file was the desired pattern to control this... but I think I've answered my own question I'll submit a pull request to https://github.com/GluuFederation/community-edition-setup/blob/master/setup.py to allow this password to be spcified via the prompt when asimba is being installed. Thanks!

By Michael Schwartz Account Admin 04 May 2016 at 9:44 a.m. CDT

Michael Schwartz gravatar
sure, you can edit the script. The password will be saved in setup.properties.last ... so it won't be lost.

By Anthony Supinski user 04 May 2016 at 9:47 a.m. CDT

Anthony Supinski gravatar
AH, thanks much! I totally missed that all properties were being serialized there.