Java Remote Method Invocation (RMI) with Secure Socket Layer (SSL)

15 views
Skip to first unread message

smhu...@gmail.com

unread,
Jul 6, 2013, 7:02:29 AM7/6/13
to jug-b...@googlegroups.com
In this post I have demonstrate how a Java Remote Method Invocation (RMI) application can make remote invocations over Secure Socket Layer (SSL) connections.

http://codeoftheday.blogspot.com/2013/07/java-remote-method-invocation-rmi-with.html

Highlights :

Create a KeyStore and Generate a Public-Private Key
Export a X.509 Certificate against above Key into a file
Create a TrustStore and Import X.509 Certificate as a Trusted Certificate
Define RMI Remote Interface
Implement RMI Remote Interface
Create RMI Client which will consume/invoke RMI method remotely
Finally, create RMI Registry
Run the program!
Reply all
Reply to author
Forward
0 new messages