Article - CS110492
Getting error "com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file" in Windchill
Modified: 01-Aug-2025
Applies To
- Windchill PDMLink 10.0 to 13.0
Description
- Getting error com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file when changing the passwords via xconfmanager
- Same issue may occur when restarting Windchill
[main] com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file java.security.KeyStoreException: Could not load keystore file. at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:330) at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:304) at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:157) at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:113) at com.ptc.windchill.keystore.WTKeyStore.put(WTKeyStore.java:149) at com.ptc.windchill.structconf.SetSiteProperty.execute(SetSiteProperty.java:133) at com.ptc.windchill.structconf.StructConfManagerCommand.execute(StructConfManagerCommand.java:102) at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:259) at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:273) at com.ptc.windchill.structconf.StructConfManager.main(StructConfManager.java:820) Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..) at java.security.KeyStore.load(KeyStore.java:1185) at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:328) ERROR [main] com.ptc.windchill.keystore.WTKeyStore - Error adding the key: (encrypted.wt.pom.dbPassword) java.security.KeyStoreException: Could not load keystore file. at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:330) at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:304) at com.ptc.windchill.keystore.KeyStoreProxy.addEntry(KeyStoreProxy.java:120) at com.ptc.windchill.keystore.WTKeyStore.put(WTKeyStore.java:153) at com.ptc.windchill.structconf.SetSiteProperty.execute(SetSiteProperty.java:133) at com.ptc.windchill.structconf.StructConfManagerCommand.execute(StructConfManagerCommand.java:102) at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:259) at com.ptc.windchill.structconf.StructConfManager.execute(StructConfManager.java:273) at com.ptc.windchill.structconf.StructConfManager.main(StructConfManager.java:820) Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect at com.sun.crypto.provider.JceKeyStore.engineLoad(DashoA13*..) at java.security.KeyStore.load(KeyStore.java:1185) at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:328)
- Receive error below in the ServerManager log
ERROR [main] com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file java.security.KeyStoreException: Could not load keystore file. at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:352) at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:325) at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:157) at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:120) at wt.dataservice.DSPropertiesServer.getKeyStoreValue(DSPropertiesServer.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at wt.dataservice.DSProperties.getPasswordProperty(DSProperties.java:240) at wt.dataservice.DSProperties.<clinit>(DSProperties.java:175) at wt.dataservice.DataServiceFactory.<init>(DataServiceFactory.java:63) at wt.dataservice.DataServiceFactory.getDefault(DataServiceFactory.java:37) at wt.manager.CacheMasterNegotiator.getNewConnection(CacheMasterNegotiator.java:859) at wt.manager.CacheMasterNegotiator.start(CacheMasterNegotiator.java:2268) at wt.manager.ServerManagerMain.startServerManager_internal(ServerManagerMain.java:391) at wt.manager.ServerManagerMain.run(ServerManagerMain.java:299) at wt.manager.ServerManagerMain.main(ServerManagerMain.java:229) Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:865) at java.security.KeyStore.load(KeyStore.java:1445) at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:350)
- User can't start UpgradeManager with error
Microsoft Windows [Version 10.0.17763.4131]
(c) 2018 Microsoft Corporation. All rights reserved.
D:\ptc\Windchill_12.1\Windchill>upgrademanager
D:\ptc\Windchill_12.1\Windchill\bin\windchill --jap=wt.properties?com.ptc.windchill.upgrade.tools.upgradeframework.java.args --cpp=wt.properties?com.ptc.windchill.upgrade.tools.classpath com.ptc.windchill.upgrade.statemachine.DynamicLauncher
====== Welcome -
INFO : com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Phase PENDING: Welcome
ERROR : com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file
java.security.KeyStoreException: Could not load keystore file.
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:353) ~[install.jar:?]
at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:326) ~[install.jar:?]
at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:158) ~[install.jar:?]
at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:121) ~[install.jar:?]
at com.ptc.windchill.upgrade.userproperties.UserPromptedProperties.getKeystore(UserPromptedProperties.java:249) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.userproperties.UserPromptedProperties.getProperty(UserPromptedProperties.java:89) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.logging.UpgradeLoggerHelper.decorateFrameworkLoggerAndClassLoggers(UpgradeLoggerHelper.java:142) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger.processPhaseEvent(UpgradeFrameworkLogger.java:151) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.tool.UpgradeFrameworkContext$UpgradeEventFirer.run(UpgradeFrameworkContext.java:596) ~[wnc.jar:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2911) ~[?:?]
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3406) ~[?:?]
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:932) ~[?:?]
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:375) ~[?:?]
at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:835) ~[?:?]
at java.security.KeyStore.load(KeyStore.java:1479) ~[?:?]
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:351) ~[install.jar:?]
... 9 more
ERROR : com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file
java.security.KeyStoreException: Could not load keystore file.
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:353) ~[install.jar:?]
at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:326) ~[install.jar:?]
at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:158) ~[install.jar:?]
at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:121) ~[install.jar:?]
at com.ptc.windchill.upgrade.userproperties.UserPromptedProperties.getKeystore(UserPromptedProperties.java:249) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.userproperties.UserPromptedProperties.getProperty(UserPromptedProperties.java:89) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.logging.UpgradeLoggerHelper.decorateFrameworkLoggerAndClassLoggers(UpgradeLoggerHelper.java:143) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger.processPhaseEvent(UpgradeFrameworkLogger.java:151) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.tool.UpgradeFrameworkContext$UpgradeEventFirer.run(UpgradeFrameworkContext.java:596) ~[wnc.jar:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2911) ~[?:?]
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3406) ~[?:?]
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:932) ~[?:?]
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:375) ~[?:?]
at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:835) ~[?:?]
at java.security.KeyStore.load(KeyStore.java:1479) ~[?:?]
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:351) ~[install.jar:?]
... 9 more
ERROR : com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file
java.security.KeyStoreException: Could not load keystore file.
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:353) ~[install.jar:?]
at com.ptc.windchill.keystore.KeyStoreProxy.load(KeyStoreProxy.java:326) ~[install.jar:?]
at com.ptc.windchill.keystore.KeyStoreProxy.getEntry(KeyStoreProxy.java:158) ~[install.jar:?]
at com.ptc.windchill.keystore.WTKeyStore.get(WTKeyStore.java:121) ~[install.jar:?]
at com.ptc.windchill.upgrade.userproperties.UserPromptedProperties.getKeystore(UserPromptedProperties.java:249) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.userproperties.UserPromptedProperties.getProperty(UserPromptedProperties.java:89) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.logging.UpgradeLoggerHelper.decorateFrameworkLoggerAndClassLoggers(UpgradeLoggerHelper.java:145) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger.processPhaseEvent(UpgradeFrameworkLogger.java:151) ~[wnc.jar:?]
at com.ptc.windchill.upgrade.tool.UpgradeFrameworkContext$UpgradeEventFirer.run(UpgradeFrameworkContext.java:596) ~[wnc.jar:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2911) ~[?:?]
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3406) ~[?:?]
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:932) ~[?:?]
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:375) ~[?:?]
at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:835) ~[?:?]
at java.security.KeyStore.load(KeyStore.java:1479) ~[?:?]
at com.ptc.windchill.keystore.KeyStoreProxy.loadExisting(KeyStoreProxy.java:351) ~[install.jar:?]
... 9 more
INFO : com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - In phase - Welcome and set framework logger to - INFO
This is a printer-friendly version of Article 110492 and may be out of date. For the latest version click CS110492