Solved

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

Posted on 2004-04-14
1
292 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
ID: 10827375
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 49
HashTable highest marks enumeration alternative 9 37
type mismatch (Object[] to double[] 4 24
How to convert from xls to xlsx using java 7 39
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

770 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