In order to change the password completely and get rid of those error messages, you would have to add the following parameter
"-Djavax.net.ssl.trustStorePassword="certificate password" " to uiconfig.bat and config.bat files and also in the java options (service.bat) file.
After adding the parameter"-Djavax.net.ssl.trustStorePassword="certificate password"
The uiconfig.bat (<Spotfire Server Install>\tomcat\spotfire-bin\uiconfig.bat) will look as below
start "TSS Configuration UI" "%JAVA_HOME%\bin\javaw" -Xms256m -Xmx4096m --add-opens=java.base/java.nio=ALL-UNNAMED -classpath "%CLASSPATH%" -Dcatalina.base="%TSS_HOME%" -Dlog.dir="%TSS_HOME%\logs" -Dlog4j.configurationFile="%TSS_HOME%\spotfire-config\log4j2-tools.xml" -Djavax.net.ssl.trustStorePassword="Tibco@123" com.spotfire.server.tools.confui.ConfigurationMain %* The config.bat (<Spotfire Server Install>\tomcat\spotfire-bin\config.bat) will look as below
"%JAVA_HOME%\bin\java" -Xms256m -Xmx4096m --add-opens=java.base/java.nio=ALL-UNNAMED -classpath "%CLASSPATH%" -Dcatalina.base="%TSS_HOME%" -Dlog.dir="%TSS_HOME%\logs" -Dlog4j.configurationFile="%TSS_HOME%\spotfire-config\log4j2-tools.xml" -Djavax.net.ssl.trustStorePassword="Tibco@123" com.spotfire.server.config.tool.ConfigApp %* To make the changes in the service.bat file follow the below steps
============================================
- On the command line, go to the <Spotfire Server Install>/tomcat/bin directory.
- Enter the following command service.bat remove
- Then locate the ----JvmOptions and add the following "Djavax.net.ssl.trustStorePassword="certificate password" there
- Save and close the file.
- Then enter the following command service.bat install
====================================
After changing the password at all three locations you will also have to change the cacert password and make it the same as the new password otherwise you will get the below error
==============================
ERROR 2021-09-06T20:03:41,640+0530 [*Initialization*] security.unitrust.ConnectUnifiedStores: Could not created unified trust store.
java.security.KeyStoreException: problem accessing trust store============================================
The following command can be used to change the cacerts password
keytool -storepasswd -new Tibco@123 -cacerts