Hello!

I'm trying to SSL-enable the network traffic between the client and jBoss.
The HowTo "Customizing the JRMPContainerInvoker Socket Factories" made it
sound simple. So I downloaded Sun's JSSE 1.0.2 and installed the jars in
jboss' lib/ext.  I then changed the standardjboss.xml according to the
HowTo, i e
        <container-configuration>
            <container-name>Standard Stateless SessionBean</container-name>
                ...
            <container-invoker-conf>
                <RMIObjectPort>4444</RMIObjectPort>


<RMIClientSocketFactory>javax.net.ssl.SSLSocketFactory</RMIClientSocketFacto
ry>

<RMIServerSocketFactory>javax.net.ssl.SSLServerSocketFactory</RMIServerSocke
tFactory>

                <Optimized>True</Optimized>
            </container-invoker-conf>

Starting JBoss gave me the following exceptions:
[Container factory] Deploying FileManager
[Container factory] lookup securityManager name: java:/jaas/other
[Container factory] java.lang.InstantiationException:
javax.net.ssl.SSLSocketFactory
[Container factory] java.lang.InstantiationException:
javax.net.ssl.SSLServerSocketFactory

I guess I somewhere must tell the SSLSocket which keystore to use, the
password to the store and other details. There are several system properties
that are mentioned in the installation instructions to JSSE
(javax.net.ssl.keyStorePassword for example).

I have added following entry in the java.security file according to same
instructions:
security.provider.2=com.sun.net.ssl.internal.ssl.Provider

I'm totally new to cryptography so perhaps my thinking is fundamentally
wrong. Any help would be highly appreciated.

Regards,
Pelle Poluha



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to