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
-
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 org.wildfly.extension.elytron@18.1.2.Final//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1.get(CredentialStoreResourceDefinition.java:535)
at org.wildfly.extension.elytron@18.1.2.Final//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1.get(CredentialStoreResourceDefinition.java:492)
at org.wildfly.extension.elytron@18.1.2.Final//org.wildfly.extension.elytron.ElytronDoohickey.get(ElytronDoohickey.java:114)
at org.wildfly.extension.elytron@18.1.2.Final//org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:61)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc@1.4.13.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads@2.4.0.Final//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 org.wildfly.security.elytron-base@1.19.1.Final//org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.load(KeyStoreCredentialStore.java:906)
at org.wildfly.security.elytron-base@1.19.1.Final//org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.initialize(KeyStoreCredentialStore.java:224)
at org.wildfly.security.elytron-base@1.19.1.Final//org.wildfly.security.credential.store.CredentialStore.initialize(CredentialStore.java:160)
at org.wildfly.extension.elytron@18.1.2.Final//org.wildfly.extension.elytron.CredentialStoreResourceDefinition$CredentialStoreDoohickey$1$1.run(CredentialStoreResourceDefinition.java:527)
at org.wildfly.extension.elytron@18.1.2.Final//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 org.wildfly.security.elytron-base@1.19.1.Final//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