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 w
This is a printer-friendly version of Article 110492 and may be out of date. For the latest version click CS110492