Java Remote Method Invocation (RMI) with Secure So...
smhumayunThu Jul 04, 2013 12:33 PM
In this post I have demonstrate
how a Java Remote Method Invocation (RMI) application can make remote invocations over Secure Socket Layer (SSL) connections
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!
Report | Quote This | Reply | Print