[jboss-jira] [JBoss JIRA] (WFCORE-3434) ERROR in logs while using vault in system properties

Jeff Mesnil (JIRA) issues at jboss.org
Thu Feb 8 04:04:00 EST 2018


     [ https://issues.jboss.org/browse/WFCORE-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil updated WFCORE-3434:
--------------------------------
    Fix Version/s: 3.1.0.Final


> ERROR in logs while using vault in system properties
> ----------------------------------------------------
>
>                 Key: WFCORE-3434
>                 URL: https://issues.jboss.org/browse/WFCORE-3434
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 4.0.0.Alpha3
>         Environment: JBoss EAP 7.1 Beta
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>            Priority: Minor
>             Fix For: 4.0.0.Alpha4, 3.1.0.Final
>
>
> Getting below ERROR message in server.log when *Picketbox Vault expressions* used in *system properties*.:
> {code:java}
> ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0230: Vault is not initialized; resolution of vault expressions is not possible
> {code}
> Below expressions are resolving fine but due to race condition this ERROR message got printed in the logs.
> {code:java}
> <system-properties>
>         <property name="javax.net.ssl.trustStore" value="/home/jboss-eap-7.1/vault/vault.keystore"/>
>         <property name="javax.net.ssl.trustStorePassword" value="${VAULT::datasource::password::1}"/>
> </system-properties>
> <vault>
>   <vault-option name="KEYSTORE_URL" value="/home/jboss-eap-7.1/vault/vault.keystore"/>
>   <vault-option name="KEYSTORE_PASSWORD" value="MASK-2GAtdnlXL8H"/>
>   <vault-option name="KEYSTORE_ALIAS" value="vault"/>
>   <vault-option name="SALT" value="12345678"/>
>   <vault-option name="ITERATION_COUNT" value="44"/>
>   <vault-option name="ENC_FILE_DIR" value="/home/jboss-eap-7.1/vault/"/>
> </vault>
> {code}
> Expression is actually resolving to the correct value and that can be check using below CLI command :
> {code:java}
> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties).
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list