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?
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)
... 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!
sure, you can edit the script. The password will be saved in setup.properties.last ... so it won't be lost.
AH, thanks much! I totally missed that all properties were being serialized there.