[jboss-jira] [JBoss JIRA] (ELY-678) Credential-reference(alias=) should be resolved in time of request.
Darran Lofthouse (JIRA)
issues at jboss.org
Sun Aug 20 06:39:02 EDT 2017
[ https://issues.jboss.org/browse/ELY-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse reassigned ELY-678:
------------------------------------
Assignee: (was: Peter Skopek)
> Credential-reference(alias=) should be resolved in time of request.
> -------------------------------------------------------------------
>
> Key: ELY-678
> URL: https://issues.jboss.org/browse/ELY-678
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Affects Versions: 1.1.0.Beta10
> Reporter: Hynek Švábek
> Attachments: credentialstore.jceks, firefly.keystore
>
>
> Credential-reference should be resolved in time of request - in this case the alias which contains wrong password in CredentialStore (we can change it later to right password...).
> If I add credential reference with alias which contains wrong password then I get this error:
> {code}
> {
> "outcome" => "failed",
> "failure-description" => {
> "WFLYCTL0080: Failed services" => {"org.wildfly.security.key-store.fireflyWrong" => "org.jboss.msc.service.StartException in service org.wildfly.security.key-store.fireflyWrong: WFLYELY00004: Unable to start the service.
> Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
> Caused by: java.security.UnrecoverableKeyException: Password verification failed"},
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.key-store.fireflyWrong"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> },
> "rolled-back" => true
> }
> {code}
> *When I reload server then same command pass!*
> But I nowhere got information about reload-required
> {code}
> /subsystem=elytron/key-store=fireflyWrong:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference= {store=credStore2,alias=ffWithWrongPass})
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list