我正在尝试启动Keycloak并且我正在获得此异常
2017-12-09 13:25:54,270错误 [org.jboss.as.controller.management-operation](控制器启动 线程)" WFLYCTL0193:执行子系统数据源启动失败 操作" 2017-12-09 13:25:54,354错误 [org.jboss.as.controller.management-operation](控制器启动 线程)WFLYCTL0013:操作("添加")失败 - 地址:([ ("核心服务" =>"管理"), (" security-realm" =>" KChttpsRealm")]):java.lang.SecurityException:WFLYSRV0228:安全异常 在org.jboss.as.server.services.security.RuntimeVaultReader.retrieveFromVault(RuntimeVaultReader.java:118) 在org.jboss.as.server.RuntimeExpressionResolver.resolvePluggableExpression(RuntimeExpressionResolver.java:45) at org.jboss.as.controller.ExpressionResolverImpl.resolveExpressionString(ExpressionResolverImpl.java:331) at org.jboss.as.controller.ExpressionResolverImpl.parseAndResolve(ExpressionResolverImpl.java:240) at org.jboss.as.controller.ExpressionResolverImpl.resolveExpressionStringRecursively(ExpressionResolverImpl.java:142) at org.jboss.as.controller.ExpressionResolverImpl.resolveExpressionsRecursively(ExpressionResolverImpl.java:84) at org.jboss.as.controller.ExpressionResolverImpl.resolveExpressions(ExpressionResolverImpl.java:66) 在org.jboss.as.controller.ModelControllerImpl.resolveExpressions(ModelControllerImpl.java:890) at org.jboss.as.controller.AttributeDefinition.resolveValue(AttributeDefinition.java:580) at org.jboss.as.controller.AttributeDefinition.resolveModelAttribute(AttributeDefinition.java:539) 在org.jboss.as.controller.AttributeDefinition.resolveModelAttribute(AttributeDefinition.java:513) 在org.jboss.as.domain.management.security.SecurityRealmAddHandler.addKeyManagerService(SecurityRealmAddHandler.java:632) 在org.jboss.as.domain.management.security.SecurityRealmAddHandler $ ServiceInstallStepHandler.execute(SecurityRealmAddHandler.java:821) 在org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890) 在org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370) at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344) 在org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:485) 在org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:387) 在org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:349) 在org.jboss.as.server.ServerService.boot(ServerService.java:392) 在org.jboss.as.server.ServerService.boot(ServerService.java:365) 在org.jboss.as.controller.AbstractControllerService $ 1.run(AbstractControllerService.java:299) at java.lang.Thread.run(Unknown Source)引起:org.jboss.security.vault.SecurityVaultException: java.security.InvalidKeyException:非法密钥大小或默认值 参数 在org.picketbox.plugins.vault.PicketBoxSecurityVault.retrieve(PicketBoxSecurityVault.java:297) at org.jboss.as.server.services.security.RuntimeVaultReader.getValue(RuntimeVaultReader.java:146) at org.jboss.as.server.services.security.RuntimeVaultReader.getValueAsString(RuntimeVaultReader.java:126) 在org.jboss.as.server.services.security.RuntimeVaultReader.retrieveFromVault(RuntimeVaultReader.java:116) ... 27更多引起:java.security.InvalidKeyException:非法的密钥大小或默认参数 在javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1026) 在javax.crypto.Cipher.implInit(Cipher.java:801) 在javax.crypto.Cipher.chooseProvider(Cipher.java:864) 在javax.crypto.Cipher.init(Cipher.java:1249) 在javax.crypto.Cipher.init(Cipher.java:1186) 在org.picketbox.util.EncryptionUtil.decrypt(EncryptionUtil.java:133) 在org.picketbox.plugins.vault.PicketBoxSecurityVault.retrieve(PicketBoxSecurityVault.java:293) ......还有30多个
2017-12-09 13:25:54,492 INFO [org.infinispan.factories.GlobalComponentRegistry](MSC服务主题 1-8)ISPN000128:Infinispan版本:Infinispan' Mahou' 8.1.0.Final 2017-12-09 13:25:54,494 INFO [org.infinispan.factories.GlobalComponentRegistry](MSC服务主题 1-3)ISPN000128:Infinispan版本:Infinispan' Mahou' 8.1.0.Final 2017-12-09 13:25:54,509 ERROR [org.jboss.as.server](ServerService 线程池 - 47)WFLYSRV0022:部署部署 " keycloak-将server.war"被回滚没有失败的消息 2017-12-09 13:25:54,512 INFO [org.wildfly.extension.undertow](MSC 服务线程1-3)WFLYUT0008:取消默认的HTTP侦听器 暂停2017-12-09 13:25:54,512 INFO [org.wildfly.extension.undertow](MSC服务主题1-3)WFLYUT0007: Undertow HTTP侦听器默认停止,绑定到127.0.0.1:8665 2017-12-09 13:25:54,514 INFO [org.wildfly.extension.undertow](MSC 服务线程1-4)WFLYUT0019:主机默认主机停止2017-12-09 13:25:54,520 INFO [org.wildfly.extension.undertow](MSC服务 线程1-4)WFLYUT0004:承诺1.3.15.Final停止2017-12-09 13:25:54,559致命[org.jboss.as.server](控制器启动线程) WFLYSRV0056:服务器启动以不可恢复的方式失败; 退出。有关详情,请参阅先前的消2017-12-09 13:25:54,561 INFO [org.jboss.as.server](Thread-2)WFLYSRV0220:服务器关闭 已被要求。
有人可以帮我解决问题。
编辑1 这是Standalaone.xml文件中的Vault信息
<vault>
<vault-option name="KEYSTORE_URL" value="/opt/keycloak/security/vault/vault.jks"/>
<vault-option name="KEYSTORE_PASSWORD" value="MASK-1i9etX7oX375Tzdvf8l//F"/>
<vault-option name="KEYSTORE_ALIAS" value="initseckey"/>
<vault-option name="SALT" value="33550336"/>
<vault-option name="ITERATION_COUNT" value="99"/>
<vault-option name="ENC_FILE_DIR" value="/opt/keycloak/security/vault/"/>
</vault>
这是keycloak.conf文件条目
VAULT:vault.jks:MASK-1i9etX7oX375Tzdvf8l//F:initseckey:33550336:99