3 Replies Latest reply on Jul 9, 2004 7:02 AM by Kenneth Aitken

    SSL configuration for JBoss 3.2.4

    dev2gosoft Newbie

      I am migrating from JBoss 3.2.3 to JBoss 3.2.4 (both have integrated tomcat ) . The 3.2.3 version had the SSL configured with a keystore and the necessary configuration for the same in jboss-server.xml. It works fine.

      However 3.2.4 version integrates Tomcat 5.x and the jboss-server.xml is entirely different.

      I have tried the following in the 3.2.4 version:
      1. Created a keystore "server.keystore"
      2. Add the following to jboss-server.xml
      "



      C:/jboss_3.2.4/server/all/conf/server.keystore
      password
      "

      3. to test if ssl is enabled.. i try http://localhost:8443/ and i see a page not found instead of a prompt to review the certificate...

      Any help on this will be greatly appreciated.
      Thanks in advance.

        • 1. Re: SSL configuration for JBoss 3.2.4
          dev2gosoft Newbie

          Posted: Fri Jun 11, 2004 08:05 AM Post subject: SSL configuration for JBoss 3.2.4

          Oops I forgot to put a code block and the xml file portion was treated as html and hence not display... please disregard the previous post. Thanks
          --------------------------------------------------------------------------------

          I am migrating from JBoss 3.2.3 to JBoss 3.2.4 (both have integrated tomcat ) . The 3.2.3 version had the SSL configured with a keystore and the necessary configuration for the same in jboss-server.xml. It works fine.

          However 3.2.4 version integrates Tomcat 5.x and the jboss-server.xml is entirely different.

          I have tried the following in the 3.2.4 version:
          1. Created a keystore "server.keystore"
          2. Add the following to jboss-server.xml

          <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL">
           <constructor>
           <arg type="java.lang.String" value="RMI+SSL"/>
           </constructor>
           <attribute name="KeyStoreURL">C:/2goSoft/JavaTools/jboss_3.2.4/server/all/conf/server.keystore</attribute>
           <attribute name="KeyStorePass">rand9999</attribute>
          </mbean>


          3. to test if ssl is enabled.. i try http://localhost:8443/ and i see a page not found instead of a prompt to review the certificate...

          Any help on this will be greatly appreciated.
          Thanks in advance.





          • 2. Re: SSL configuration for JBoss 3.2.4
            dev2gosoft Newbie

            Never mind i figured it out. actually it was pretty straight forward as soon as you find out that the new configuration file is server.xml for configuring jbossweb-tomcat50 ....

            uncomment the section for ssl section and update with the keystore url and keystore password and it runs like a charm..


            the file:
            <jboss home dir>/server/all/deploy/jbossweb-tomcat50.sar/server.xml

            • 3. Re: SSL configuration for JBoss 3.2.4
              Kenneth Aitken Newbie

              Thank you!
              I posted a description of an identical problem with JBoss 3.2.5 under Installation & Configuration. So now I can see if this works.