Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes keytool problem 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 problem" Watch "keytool problem" New topic

keytool problem

Tom Hill
Ranch Hand

Joined: Aug 24, 2003
Posts: 115
I am trying to add a certificate using keytool. I am using an Alias for the certificate but an alias already exists on the machine. The old certificate is no longer required so I attempted to preform a keytool -delete. It appears that the certificate .keystore directory has been manually deleted and the keytool application will throw an IOException, but not remove the alias (and thus allow me to reassign it).

Has anyone got any ideas how to delete a certificate in keytool when the certificate that no longer exists to be deleted!


Tom Hill
Ranch Hand

Joined: Aug 24, 2003
Posts: 115
Lemonhead! I was deleting it from the wrong (default) keystore!
I agree. Here's the link:
subject: keytool problem
Similar Threads
Failed to Establish Chain from Reply
SSL WebService using AXIS
keytool error:
Problem importing certificates with keytool
modify keystore