3 Replies Latest reply on Feb 8, 2013 6:54 AM by Nicklas Karlsson

    Encrypt keystore/trustore password in standalone.xml for ejb client/server connection.

    ispe Newbie

      Hi All,


      We are using JBOSS 7.1.1 final version.


      We are trying to create a two way ssl between 2 jboss instances as an ejb client/server.


      We need to encryt the keystore and trustore password, instead of clear text password in the standalone.xml file.


      Belew is the setup we use. With clear text password the connection works.


              <security-realm name="ApplicationRealm">
                          <keystore path="keystore.jks" relative-to="jboss.home.dir" password="keystore_pass"/>
                      <truststore path="trustore.jks" relative-to="jboss.home.dir" password="trustore_pass"/>