File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Keytool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Keytool" Watch "Keytool" New topic
Author

Keytool

Adam Teg
Ranch Hand

Joined: Jul 10, 2007
Posts: 58
I know you can run: keytool -import -cacerts -alias in cmd, can you run it in a java program to create keystore and how? Thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19685
    
  20

Look at the java.security package. It has a class called KeyStore.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keytool