This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When I run the commands "keytool -list" or "keytool -list -storetype JKS" on my dos prompt I am getting below error : keytool error: java.io.IOException: Invalid keystore format
And when I the command "keytool -list -storetype JCEKS" I am getting below output : Keystore type: JCEKS Keystore provider: SunJCE Your keystore contains 0 entries
There is some java file given by some third party (actually it is dsig.SampleSign2 that comes bundled with IBM XML Security Suite) that uses the below line in its code : KeyStore keystore = KeyStore.getInstance("JKS");
And so in accordance with the above JKS keystore type used I want to update the default .keystore with my newly generated certificate and so when I apply the command