Uploaded image for project: 'JBoss Naming'
  1. JBoss Naming
  2. JBNAME-54

Failed to configure RMI + SSL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 5.1.0.GA
    • 5.1.0.GA
    • jnp-client

      Trying the to configure the RMI over SSL.
      did following settings for this :
      jboss-5.1.0.GA\server\idm\deploy\jbossweb.sar\server.xml

      <!-- A AJP 1.3 Connector on port 8009 -->
      <Connector address="${jboss.bind.address}" port="8009" protocol="AJP/1.3" redirectPort="8443"/>
      <Connector SSLEnabled="true" SSLImplementation="org.jboss.net.ssl.JBossImplementation" URIEncoding="UTF-8" address="${jboss.bind.address}" clientAuth="false" maxSpareThreads="15" maxThreads="100" minSpareThreads="5" port="8084" scheme="https" secure="true" securityDomain="java:/jaas/encrypt-keystore-password" sslProtocol="TLS" truststoreFile="" truststorePass=""/>
      -------------------------------------------------------------------

      -----------------------------------------------------------
      and in %jboss-5.1.0.GA%\server\idm\conf\jboss-service.xml the following settings:

      <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="rmissl.security:name=JaasSecuritydomain,domain=RMI+SSL">
      <constructor>
      <arg type="java.lang.String" value="RMI+SSL"/>
      </constructor>
      <attribute name="KeyStoreURL">C:\Program Files (x86)\Suite/security/keystore/jboss.keystore</attribute>
      <attribute name="KeyStorePass">

      {CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/conf/keystore.password</attribute>
      <attribute name="Salt">welcometojboss</attribute>
      <attribute name="IterationCount">13</attribute>
      </mbean>
      <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=PBESecurityDomain">
      <constructor>
      <arg type="java.lang.String" value="encrypt-keystore-password"/>
      </constructor>
      <attribute name="KeyStoreURL">C:\Program Files (x86)\Suite/security/keystore/jboss.keystore</attribute>
      <attribute name="KeyStorePass">{CLASS}

      org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/conf/keystore.password</attribute>
      <attribute name="Salt">welcometojboss</attribute>
      <attribute name="IterationCount">13</attribute>
      </mbean>
      ----------------------------------------------------------------------------------------------

      1. But still not able configure RMI over SSL. Are we missing something. do you have any guide mentioning the steps to configure RMI+SSL.
      2. please let me know if there is any settings in Jboss server which can enforce client application to use only RMI+SSL?

      Waiting for the reply.

      Regards,
      Anup

              Unassigned Unassigned
              anup_ohal Anup Ohal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: