This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes RMI encrytion question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI encrytion question" Watch "RMI encrytion question" New topic

RMI encrytion question

Eric Fox

Joined: Nov 24, 2003
Posts: 3
I was wondering if RMI is sent through an encrypted tunnel, like using SSH? If not does anybody know how I would be able to send it through a SSH tunnel?
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Is? No.

Can be? Yes.

This page provides details and code for how it can be done. There are probably many other examples online of how to do this, and I seem to recall that the O'Reilly "Java RMI" book also provided examples of RMI over SSL.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: RMI encrytion question
It's not a secret anymore!