A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How can i load keystore using java api
Amr k. Saleh
Joined: Aug 23, 2010
May 08, 2012 11:56:17
I'm using glassfish application server, how can i load the keystore ?
KeyStore keystore = KeyStore.getInstance("JKS");
InputStream is = new FileInputStream(new File("???"));
what is the path should i provide for the File ? i want to use the default keystore
thanks in advance,
Joined: Mar 24, 2008
May 08, 2012 19:48:01
Have a look at
on how to store, you can have a hint from that perhaps.
SCJP 5 | SCWCD 5
How to ask questions
I agree. Here's the link:
subject: How can i load keystore using java api
case of "UnrecoverableKeyException: DER input, Integer tag error"?
SSL Cert Error - Mismatched Address
how do i programmatically create a keystore and import my certificate into it?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014