• Post Reply Bookmark Topic Watch Topic
  • New Topic

using KEYTOOL  RSS feed

 
sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to use keytool to generate digital certificates for my application (for test purpose). i am getting error that Keystore doesn't exist. can somebody please suggest me to overcome this problem and a solution to generate a dummy certificate, so that i can extract the user information in my application. can you also provide me with some tutorial.

i already have read this ---->
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html#Commands
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
keytool has many options - make sure you're not inadvertently specifying one that assumes a keystore already exists. The most basic way to invoke it would be

keytool -genkey -alias some_name -keyalg RSA
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!