Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0

    Post SSL Mutual Authentication

    I am developing a networking application where the server is in cpp and client is in java.Communication is made possible using SSL Sockets.Here i required the mutual authentication of the certificates of client and the server.Certificates are imported from "pem" format into "jks" using "keytool".I hav used the following source code for certificate authentication

    System.setProperty("javax.net.ssl.keyStore", "file.jks");
    System.setProperty("javax.net.ssl.keyStorePassword ", "password");
    System.setProperty("javax.net.ssl.trustStore", "file.jks");
    System.setProperty("javax.net.ssl.trustStorePasswo rd", "password");

    but it is showing "SSLHandshake" error

    but if i am using only the below code it is working fine

    System.setProperty("javax.net.ssl.trustStore", "file.jks");
    System.setProperty("javax.net.ssl.trustStorePasswo rd", "password");

    i.e the mutual authentication is not working

    can anyone help on this issue..
    help will be very much thankful

    Manoj

  2. #2
    JavaBean007 is offline Member
    Join Date
    Nov 2011
    Posts
    1
    Rep Power
    0

    Default Re: SSL Mutual Authentication

    Hi, did you find a solution to your porblem? I was searcing the site and came across your post.

Similar Threads

  1. Server authentication using SSL
    By jyoti in forum Advanced Java
    Replies: 0
    Last Post: 11-23-2009, 08:12 PM
  2. jsp authentication
    By tascoa in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-13-2009, 06:47 PM
  3. IIS Authentication
    By akkarin in forum Java Applets
    Replies: 0
    Last Post: 03-30-2009, 12:35 PM
  4. Analysing for starvation, deadlock and mutual exclusion
    By scarymovie in forum New To Java
    Replies: 0
    Last Post: 03-07-2009, 07:58 AM
  5. Shared variable mutual exclusion problem. Plz help
    By elecrobot in forum Threads and Synchronization
    Replies: 6
    Last Post: 11-25-2007, 03:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •