1 Reply Latest reply on Nov 27, 2003 4:59 AM by noel.rocher

    server to server EJB invocation (https tunneling)

    noel.rocher

      Hi all,

      I'm trying to make a jboss webapp using EJBs from another jboss server behind a firewall and an Apache server.

      In the JBoss server with the webapp I use InitialContext with this settings:

      - HttpNamingContextFactory
      - https://.../invoker/JNDIFactory

      All is working when I use http only in the URL, but with https , the certificate could not be found.

      So I've made a keystore with the certificate as described in doco, but I can't find where to find the keystore configuration (file name and password) that will make HttpNamingContextFactory to see it.

      Any help ?

      Tx
      Noel

        • 1. Re: server to server EJB invocation (https tunneling)
          noel.rocher


          It works if I configure a keystore with my EJB server's certificate as trustedcert to be the keystore associated with the JVM of my webapp JBoss server. (java options as :

          -Djavax.net.ssl.trustStore=%JBOSS_HOME%/server/default/conf/jbosscacerts -Djavax.net.ssl.trustStorePassword=myKeystorePassword
          



          But I discovered that EJB requests are not sent via this "tunnel" ! Another socket is used on port # 4444 !

          I certainly missed something on what means "http tunneling".

          Any help ?

          Noel