Friday, July 2, 2010

T3S -T3 over SSL

T3 is the protocol used for RMI communication with WebLogic server. T3S is the version of the protocol over SSL when secure communication is required.

I was going to write up a post about doing T3 over SSL as it seems to be something that people get hung up on.

However, Markus Eisele seems to have beaten me to it with an excellent and fairly comprehensive post.

I’d just like to add:

When you import the trusted CA into the default JVM cacert store make sure it is on the CLIENT JVM (and as the blog points out the correct JVM).

Also, rather than importing the trusted CA into the default JVM cacert store, you can create your own keystore and specify to the client SSL stack to use that store instead.

If you are using a standard J2SE stack for the client then you do this by starting the client with the following flags:

-Djavax.net.ssl.trustStore=**trustStore file path**
-Djavax.net.ssl.trustStorePassword=**trustStorePassword**


However, if you are using the WLS stack for the client you would do this with these flags:

-Dweblogic.security.TrustKeyStore=CustomTrust
-Dweblogic.security.CustomTrustKeyStoreFileName=**trust store file path**
-Dweblogic.security.CustomTrustKeyStorePassPhrase=**keystore pass phrase**

1 comment:

  1. Please, explain what do you mean by "standard J2SE stack"
    is that using java.net protocol handlers?
    System.setProperty("java.protocol.handler.pkgs", "java.net");

    I faced with a problem when my jmx client ignores these settings

    -Djavax.net.ssl.trustStore=**trustStore file path**
    -Djavax.net.ssl.trustStorePassword=**trustStorePassword**

    Even more, it works, when I adding trusted CA to the standard cacert or if I use -Dweblogic.security.TrustKeyStore=CustomTrust.


    But I do specify java.net protocol handlers...
    WLS - 8.1sp5

    Any help appreciated..

    ReplyDelete

Note: Only a member of this blog may post a comment.