I have a .crt file to update the server thats running Tomcat 5.5. If I run:
keytool - import -alias tomcat -keystore tomcat.ks - trustcacerts -file website.net.crt
I get the following error:
keytool error: gnu.javax.crypto.keyring.MalformedKeyringException: incorrect magic
BTW, the default password for the keystore file is changeit and I am not sure why its not accepting it