[jboss-jira] [JBoss JIRA] Created: (JBNAME-54) Failed to configure RMI + SSL

Anup Ohal (JIRA) jira-events at lists.jboss.org
Wed Jun 1 02:34:00 EDT 2011


Failed to configure RMI + SSL
-----------------------------

                 Key: JBNAME-54
                 URL: https://issues.jboss.org/browse/JBNAME-54
             Project: JBoss Naming
          Issue Type: Bug
          Components: jnp-client
    Affects Versions: 5.1.0.GA
         Environment: Windows
            Reporter: Anup Ohal
            Priority: Critical
             Fix For: 5.1.0.GA


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 




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list