How to mask keystore password in security-realms?

Solution In Progress - Updated -

Issue

  • How to mask keystore-password value in security-realms?
  • My keystore password is a plain text "password1" like below standalone.xml or host.xml and this is not good in the view point of the security.
<security-realm name="HTTPSRealm">
    <server-identities>
        <ssl>
            <keystore path="identity.jks" relative-to="jboss.server.config.dir" keystore-password="password1" alias="appserver"/>
        </ssl>
    </server-identities>
</security-realm>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In