jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Keytool" Watch "Keytool" New topic
Author

Keytool

Adam Teg
Ranch Hand

Joined: Jul 10, 2007
Posts: 59
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: 20080
    
  30

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


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