Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8191645

RMI can no longer be used in situations where there is a firewall between the client and the server, and SSL is not a practical alternative

XMLWordPrintable

    • x86
    • other

      FULL PRODUCT VERSION :
      Java 9.0.1

      ADDITIONAL OS VERSION INFORMATION :
      Windows Server 2012r2

      A DESCRIPTION OF THE PROBLEM :
      RMI can no longer be used in situations where there is a firewall between the client and the server, and SSL is not a practical alternative.

      * If there are no firewalls between the client and the server, then RMI will work fine. There are very few servers that have no firewall, so this is probably not the case.

      * If there is a firewall, AND it allows access for an SSH port, AND you're running a server and client platform with SSH support, AND you and your customer are fine with the security risks of allowing SSH access to the public, then you can use SSH tunneling with RMI.

      * Otherwise RMI is not an option in Java 9. Rewrite your application or stick with Java 8 and HTTP proxying for RMI.

      REGRESSION. Last worked in version 8u152


      REPRODUCIBILITY :
      This bug can be reproduced always.

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: