signing an applet
What do i do wrong ?keytool -genkey -keystore testStore -alias testCert
keytool -selfcert -keystore testStore -alias testCert
keytool -export -keystore testStore -alias testCert -file testCer.cer
keytool -import -keystore testStore.store -alias testCer -file testCer.cer
jarsigner -keystore testStore testJar.jar testCert
i created a java.policy:
keystore "http://localhost/signed/testStore.store
grant signedBy "testCert" {
permission java.io.FilePermission "C:\\-", "write";
};
i put the:
java.policy
testCer.cer
testStore.store
testJar.jar
into http://localhost/signed
i still get the testFile: "caught security exception"
testStore.store
am i missing something, or doing something wrong ????
