3 Replies Latest reply on Nov 19, 2003 3:39 AM by michael.schulz

    RMI over HTTPS

    rahuja

      Hi

      I was able to configure Jboss to connect to JNDI over https (using jetty for SSL connector) but when it actually invokes the EJB using http invoker it starts using HTTP again . I tried configuring the URL as htts:// in jboss-service.xml under http-invoker.sar but it doesn't response.

      I've my EJB binding defined as following

      <invoker-proxy-binding> stateless-http-invoker
      <invoker-mbean>jboss:service=invoker,type=http</invoker-mbean>
      <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
      <proxy-factory-config>
      <client-interceptors>

      org.jboss.proxy.ejb.HomeInterceptor
      org.jboss.proxy.SecurityInterceptor
      org.jboss.proxy.TransactionInterceptor
      org.jboss.invocation.InvokerInterceptor





      Is there a way I could use HTTPS over RMI to talk to EJB's

      Thanks
      Rajiv

        • 1. Re: RMI over HTTPS
          jonlee

          You may want to post more details on your changes. However, did you modify the Invoker and the Naming service in jboss-service.xml?

          • 2. Re: RMI over HTTPS
            rahuja

            finally figured it out. I had to change default security domain used by http-invoker , specified in jboss-web.xml to custom SSL security domain (named as RMI+SSL in exaxmple)

            Thanks
            Rajiv

            • 3. Re: RMI over HTTPS
              michael.schulz

              hi,

              I am having problems in getting RMI+SSL working. I followed the JBoss documentation but I could not get it working.

              Do you know where I can get some more details on that topic or maybe you can provide me with some more details on how to setup an EJB for RMI+SSL.

              Thanks,
              Michael