This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

keytool problem

 
Tom Hill
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

Cheers

Tom
 
Tom Hill
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lemonhead! I was deleting it from the wrong (default) keystore!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic