Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

RMI

Searches

...

  • Verisign
  • Thawte - Thawte Certificate ~ $350 / 2 yrs
  • Comodo
  • GeoTrust
  • FreeSSL - Professional (Not actually Free by the way)
  • CACert.org
    Budget Plans
  • FreeSSL - StarterSSL ~ 39 per year
  • Comodo - InstantSSL (Second Tier requiring multiple Certs be installed)

Anchor
HowToUseRMIWithoutSSL
HowToUseRMIWithoutSSL

How to use RMI without SSL

By default, since OFBIz is under the Apache Software Fundation Licence, OFBiz comes with RMI using SSL. Before it was possible to use RMI without SSL. But due to licence constraint some code has been removed. If you need, for testing for instance, to use RMI without SSL follow this tip:

  1. In framework/base/config/limited-containers.xml replace (or better comment out during tests)
    Code Block
    
    <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
    <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>
    <property name="ssl-client-auth" value="true"/>
    
    by
    Code Block
    
    <property name="client-factory" value="org.ofbiz.service.rmi.socket.zip.CompressionClientSocketFactory"/>
    <property name="server-factory" value="org.ofbiz.service.rmi.socket.zip.CompressionServerSocketFactory"/>
    <property name="ssl-client-auth" value="false"/>
    
  2. Unzip in framework\service\src\org\ofbiz\service\rmi\socket\zip the content of this attachment

Anchor
HowToTestIfRMIIsWorking
HowToTestIfRMIIsWorking

How to test easily if RMI is working (using a simple client)

  1. Unzip somewhere on you disk this attachment. From there I guess it's pretty simple.