How to change ADS default keystore/truststore password
book
Article ID: KB0082853
calendar_today
Updated On:
TIBCO Data Virtualization
|
ALL VERSIONS
|
Description
How to change ADS default keystore/truststore password
Issue/Introduction
How to change ADS default keystore/truststore password
Resolution
Steps:
1) Login Studio and change configuration strong keystore/truststore password from "changeit" to "newpassword".
if you restart server, you will see:
ERROR 2017-04-20 17:45:54.092 -0700 KeyStoreUtil - Unable to load strong keystore file.
Reason: The keystore could not loaded. [security-1900704]
INFO 2017-04-20 17:45:54.097 -0700 KeyStoreUtil - Successfully loaded weak keystore from file: /Users/botong/dev/projects/hotfix-7.0.5/build/conf/server/security/cis_server_keystore.jks
2) Change store password:
keytool -storepasswd -new newpassword -keystore cis_server_keystore_strong.jks -storepass changeit
if you start server, you will see:
ERROR 2017-04-20 17:48:15.554 -0700 KeyStoreUtil - Unable to load strong keystore file.
Reason: Cannot recover key
INFO 2017-04-20 17:48:15.558 -0700 KeyStoreUtil - Successfully loaded weak keystore from file: /Users/botong/dev/projects/hotfix-7.0.5/build/conf/server/security/cis_server_keystore.jks
3) Change key password:
keytool -keypasswd -alias cis_server_strong -keypass changeit -new newpassword -keystore cis_server_keystore_strong.jks -storepass newpassword
start server, you will see:
INFO 2017-04-20 17:51:48.661 -0700 KeyStoreUtil - Successfully loaded strong keystore from file: /Users/botong/dev/projects/hotfix-7.0.5/build/conf/server/security/cis_server_keystore_strong.jks
Feedback
thumb_up
Yes
thumb_down
No