Meaningless Drivel is fun!*
The moose likes Security and the fly likes Java Keystore Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Java Keystore" Watch "Java Keystore" New topic
Author

Java Keystore

Drew Lane
Ranch Hand

Joined: May 13, 2001
Posts: 296
How do I generate a new .keystore file in my home directory?

I'm afraid I may have messed it up trying to import a certificate.

What should the .keystore file contain?

Thanks,

Drew
Dejan Mratinkovic
Ranch Hand

Joined: Nov 20, 2008
Posts: 65
Hi,

Use keytool.

Please check http://java.sun.com/javase/6/docs/technotes/tools/solaris/keytool.html

Key store can contain certificates and keys.
 
Consider Paul's rocket mass heater.
 
subject: Java Keystore
 
Similar Threads
Storing Keys in KeyStore
How could I put multiple properties in java command line?
KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"
how do i use a PKCS12 file
problem with ssl and tomcat 4.1