Results 1 to 2 of 2
  1. #1
    cssatheesh is offline Member
    Join Date
    Sep 2009
    Rep Power

    Default Setting up SSL in Java using csr, .jks and key file

    We are using a webservice url. For accessing this url, client told to setup ssl and provided us with three files certreq.csr, keystore.jks and private.key.

    Generally using java I know to setup ssl by setting the keystore and the password in System property.

    Without the password, I'm not sure how to setup this SSL in my server so that I can communicate with the client webservice url.

    As far as my understanding, without password it is not possible to setup the ssl. Is there a way to setup the ssl using the above three files?

    Kindly help me

  2. #2
    Join Date
    Oct 2008
    Rep Power

    Default Re: Setting up SSL in Java using csr, .jks and key file

    Keystore file can be create from .csr and FileName.key using Open SSL commands.

    First you need to generate .cert file using Open ssl command. Then generate Keystore.p12 file. Finally, you have to import your Keystore.p12 in to jdk/jre/lib/security/cacerts
    Rakesh Mehta

Similar Threads

  1. setting a boolean field when being read from a file
    By ajw1993 in forum New To Java
    Replies: 12
    Last Post: 03-11-2013, 01:37 AM
  2. Setting txt file columns delimiter
    By susieferrari in forum New To Java
    Replies: 5
    Last Post: 03-14-2011, 11:39 AM
  3. setting path and classpath variables from batch file -
    By in forum Advanced Java
    Replies: 1
    Last Post: 09-15-2009, 11:50 AM
  4. Log4j - setting up name of log file
    By Virkant Pawar in forum New To Java
    Replies: 3
    Last Post: 06-03-2008, 07:39 AM
  5. Servlet sending the file (setting header)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-27-2008, 09:14 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