Signing jar files - did what I was supposed to but still
Hi all,
I signed 1 jar file that has 1 class which creates a file
on c:\
I signed it like this:
keytool -genkey -keystore myKeystore -alias newKey
keytool -selfcert -alias newKey -keystore myKeystore
jarsigner -keystore myKeystore classes.jar newKey
But web start did not even prompt me for agreement
to run this code, instead I got Security Exception
Any ideas?
[438 byte] By [
zivosh] at [2007-9-26 2:39:02]

Hi guysI put all the data needed to figure out what went wrongwith my application,The jnlp, signed jar file, source code, code I used for signing the jar file.
zivosh at 2007-6-29 10:10:50 >

Couldn't read your jnlp.txt file - bad link?
Looked at your signing .bat file - looks the same as mine except for the second line (the selfcert one). Why don't you try removing this line and resigning the jar?
Not sure if this will make a difference but maybe worth a try..
John
I couldn't read your jnlp file, the link is bad. I had a similar problem, after hours of banging my head I realized that I had a typo in the jnlp file.JH
Hi,
While searching for answers to my similar problem I stumbled upon your question, looked at your jnlp file and saw that it has <all-permissions> spelled wrongly.
My problem (which I have now solved) is that I signed all .jar files, but forgot to sign a .zip file :)
Best of luck,
David Durrant
ddt at 2007-6-29 10:10:50 >
