SSL with RMI question: Do I need certs?

Posted on 2005-04-08
Last Modified: 2010-03-31
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.

Question by:Cuchulan
    LVL 15

    Accepted Solution

    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.

    Author Comment

    Hi aozarov,

    Forgot to award points for this.

    LVL 15

    Expert Comment

    Thanks :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now