Soluzione # - CS110492

Getting error "com.ptc.windchill.keystore.WTKeyStore - Error getting the value from the KeyStore file" in Windchill

Modifica: 06-Aug-2021   


Si applica a

  • Windchill PDMLink 10.0 to 11.1 F000
  • Windchill ProjectLink 10.0 to 11.1 F000
  • Pro/INTRALINK 8.x + 10.0 to 11.1 F000
  • Windchill PDM Essentials 10.0 to 11.1 F000
  • PTC Arbortext Content Manager 10.0 to 11.1 F000

Descrizione

  • 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)
This is a PDF version of Article CS110492 and may be out of date. For the latest version https://www.ptc.com/it/support/article/CS110492