Results 1 to 2 of 2
- 08-14-2013, 05:03 PM #1Member
- Join Date
- Sep 2009
- Rep Power
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
- 09-06-2013, 11:46 AM #2
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/cacertsRakesh Mehta
- By ajw1993 in forum New To JavaReplies: 12Last Post: 03-11-2013, 12:37 AM
- By susieferrari in forum New To JavaReplies: 5Last Post: 03-14-2011, 10:39 AM
- By email@example.com in forum Advanced JavaReplies: 1Last Post: 09-15-2009, 11:50 AM
- By Virkant Pawar in forum New To JavaReplies: 3Last Post: 06-03-2008, 07:39 AM
- By Java Tip in forum Java TipReplies: 0Last Post: 01-27-2008, 08:14 PM