Solved

Creating a key and trust store with JSSE in Java (replicating keytool functionality in code)

Posted on 2004-04-14
1
284 Views
Last Modified: 2012-06-27
Hi all,

I would like to make it easy for my users to add certificates to a trust store.
They should be able to use a simple UI to upload a certificate and click a button to import it.

Is it possible to use sun's API to import certificate into a trust store and how?

Thanks,
Guy.
0
Comment
Question by:optimal
1 Comment
 
LVL 4

Accepted Solution

by:
bkfirebird earned 500 total points
Comment Utility
you can use the Keystore class to add certificates to a exisiting keystore ...

http://java.sun.com/j2se/1.4.2/docs/api/java/security/KeyStore.html
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

772 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

10 Experts available now in Live!

Get 1:1 Help Now