Reputation: 4223
How do I go about changing the password of a JKS keystore(and all entries in it) from java code?
Upvotes: 7
Views: 3057
Reputation: 7589
Perhaps expect4j is the answer. http://code.google.com/p/expect4j/
It ports original expect package to java and it interacts well with prompts and stuff
Upvotes: 0
Reputation: 3519
I think you can rewrite keystore to the same file but different password with this method
Upvotes: 2