This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 19656
    
  18

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
 
jQuery in Action, 2nd edition
 
subject: Keytool
 
Similar Threads
view public key of the keystore
What is Certificate and how to configure it in cacerts file...
Using SSL
Keytool
modify keystore