We used to create trusted jars with a keystore using JDK1.6.0, by using the following steps,
Step 1 : Create a folder named 'certificates' on the below path "C:\Program Files\Java\jdk1.6.0"
Step 2 : keytool -genkey -dname "cn=Mycompany,ou=Mycompany,o=OracleCorp,c=US" -alias myidentity -keypass myidentity -keystore C:\Program Files\Java\jdk1.6.0\certificates\keystore -storepass myidentity -validity 365
Step 3 : Now, I can see a file named 'keystore' inside the 'certificates' folder
Yes. It works fine in jdk1.6.0, now I am going to update my jdk1.6.0. to jdk1.7.0_45
Now, I can't suceed the above Step 2 in jdk1.7.0_45, Am I missing out something? or else some changes held in 1.7? Please guide me.