Replies: 1 comment
-
The error message (Keystore was tampered with, or password was incorrect) says it's the wrong password. A suggestion is to not use too exotic characters in your random password as that has been known to cause issues by shells etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I created a credential store using a batch file to generate a random password as indicated in the documentation. Now, when I start WildFly, I get the following exception:
15:41:23,140 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service org.wildfly.security.credential-store.defaultCS: org.jboss.msc.service.StartException in service org.wildfly.security.credential-store.defaultCS: WFLYELY00004: Unable to start the service.
at [email protected]//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1.get(CredentialStoreResourceDefinition.java:535)
at [email protected]//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1.get(CredentialStoreResourceDefinition.java:492)
at [email protected]//org.wildfly.extension.elytron.ElytronDoohickey.get(ElytronDoohickey.java:114)
at [email protected]//org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:61)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.wildfly.security.credential.store.CredentialStoreException: ELY09514: Unable to initialize credential store
at [email protected]//org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.load(KeyStoreCredentialStore.java:906)
at [email protected]//org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.initialize(KeyStoreCredentialStore.java:224)
at [email protected]//org.wildfly.security.credential.store.CredentialStore.initialize(CredentialStore.java:160)
at [email protected]//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1$1.run(CredentialStoreResourceDefinition.java:527)
at [email protected]//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1.get(CredentialStoreResourceDefinition.java:531)
... 11 more
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at java.base/com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:882)
at java.base/java.security.KeyStore.load(KeyStore.java:1500)
at [email protected]//org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.load(KeyStoreCredentialStore.java:894)
... 15 more
Caused by: java.security.UnrecoverableKeyException: Password verification failed
... 18 more
....
Operation ("add") failed - address: ([
("subsystem" => "elytron"),
("credential-store" => "defaultCS")
]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.credential-store.defaultCS" => "WFLYELY00004: Unable to start the service.
Caused by: org.wildfly.security.credential.store.CredentialStoreException: ELY09514: Unable to initialize credential store
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
Caused by: java.security.UnrecoverableKeyException: Password verification failed"}}
15:42:01,063 INFO [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "mysql-connector-java-8.0.21.jar" (runtime-name : "mysql-connector-java-8.0.21.jar")
NB : i'm using windows os
standalone.xml :
Any help please .
Beta Was this translation helpful? Give feedback.
All reactions