PDA

View Full Version : "RMI over SSL" in Spring


SomeSpring
Feb 8th, 2007, 02:00 AM
Hello,

I have built a test application which implements "RMI over SSL" in order to provide a secure data communication. Now, I will have to create a Spring Bean which works as the RMI Client. However, as it will have to establish a connection to the server via SSL, I must provide the Keystore including the certificate used for cryptographic reasons.

So here's my question: How is the trustStore-property to be set? Due to the nature of the certificate, it represents a self-signed certificate, and is not signed by a CA.

Thanks,

Michael