SSL with RMI question: Do I need certs?

Hi Experts,

I'm using SSL for secure RMI communication using the SSLSockets and SSLServerSockets. In SSL hand shaking the authentication stage which uses Public Key cryptography, is optional. The public key is exchanged using certificates, these certs should be signed. I dont need to authenticate the server and dont want to have to get certs signed so what then is the most secure/best way then to implement SSL for RMI communication. How is the secret key for encryption shared between the client and server.

Who is Participating?
aozarovConnect With a Mentor Commented:
If you want to disable authentication (and the requirement for signed keys) then you can select anonymous cipher suite.
That will provide you a secure channel without identifying and authentication the two sides.
There are many techniques to share private keys this way like Diffie-Hellman:
For an example of how to do that have a look at:
and take the last message in that thread.
CuchulanAuthor Commented:
Hi aozarov,

Forgot to award points for this.

Thanks :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.