Using Vault in system properties does not work

Solution Verified - Updated -

Issue

  • How to encript passwords written in system properties in standalone mode ?

  • It fails in standalone mode only and seems to work in domain mode.

  • Using Vault for system properties throws the below exceptions :

13:26:10,285 ERROR [org.jboss.as.controller.management-operation] JBAS014612: Operation ("add") failed - address: ([("system-property" => "javax.net.ssl.trustStorePassword")]): java.lang.SecurityException: JBAS013322: Vault is not initialized
  • Is there any way to provide Java options other than using Java -D command line arguments ?

  • Is it possible to encrypt keystore password while passing trustStorePassword as parameter?

  • Need assistance in encrypting and passing trustStorePassword as parameter.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.0 GA
    • 6.0.1
    • 6.1.0
    • 6.1.1
    • 6.2.0
    • 6.2.1
    • 6.2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content