IAM throwing Vault is not initialized error
search cancel

IAM throwing Vault is not initialized error

book

Article ID: 249494

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

We are having troubles with IAM component throwing below error and not loading:

ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0230: Vault is not initialized; resolution of vault expressions is not possible

 

Server.log error:

Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYDM0018: Unable to start service
 at org.jboss.as.domain.management.security.FileKeystore.load(FileKeystore.java:153)
 at org.jboss.as.domain.management.security.FileKeyManagerService.loadKeyStore(FileKeyManagerService.java:169)
 ... 7 more
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
 at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:785)
 at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
 at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
 at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
 at java.security.KeyStore.load(KeyStore.java:1445)
 at org.jboss.as.domain.management.security.FileKeystore.load(FileKeystore.java:112)
 ... 8 more
Caused by: java.security.UnrecoverableKeyException: Password verification failed
 at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:783)

 

Can you please look into this issue.

Environment

Release : 10.7

Component :

Resolution

As the error says, keystore password is tampered and password verification has failed.

You can resolve the issue by giving the password for keystore and truststore in iam.properties file and restart the services.