1 Reply Latest reply on Dec 4, 2011 8:10 PM by glogu

    EncryptionKeystorePassword jboss5.1.0

    kenbarnesjr

      I am attempting to not hardcode my password into server.xml for my ssl connector on jboss5.1.0.GA.

      Current i Hava class

       

      {CLASS}mil.navy.ssca.oima.ssl.KeystorePasswordHandler

      with my connector looking like

       

      port="443" address="${jboss.bind.address}"
                 scheme="https" secure="true" clientAuth="true"
             keystoreFile="${jboss.server.home.dir}/conf/jboss.keystore"
             securityDomain=

      "java:/jaas/encrypt-keystore-password"

             sslProtocol = "TLS"
             />

      the same as the post

      http://community.jboss.org/wiki/EncryptKeystorePasswordInTomcatConnector

       

      but this is for jboss 4.2.3.  It says

      Go to deploy/jbossweb-tomcat5x.sar/META-INF
      Open jboss-service.xml and add the following depends tag towards the end

      ...
            <depends>jboss.security:service=PBESecurityDomain</depends>
         </mbean>
      </server>

       

      where in jboss5.1.0.GA is the mbean for the service?

       

      I go into META-INF/jboss-beans and add it but it doesnt work.

      What are the differences between the document and what i need to do for 5.1.0