Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Verified signed, but jnlp says unsigned.

 
Nick Jp George
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
It's astonishing to me how hard it is to find reliable tutorials for jarsigning- nothing seems to take it from start to finish to sign a jar. I finally found this one:
http://www.narendranaidu.com/2007/11/3-easy-steps-to-self-sign-applet-jar.html

which just says to use the three simple lines


1. keytool -genkey -keystore myKeyStore -alias me

2. keytool -selfcert -keystore myKeyStore -alias me

3. jarsigner -keystore myKeyStore jarfile.jar me

These I did, then I ran jarsigner -verify on the jar, and it says it's signed. However, when I try to run a jnlp with it, I get "Found unsigned resource in: http://localhost/IsoLauncher.jar"
(IsoLauncher is the jar I signed/verified).

It burns me up how much harder this is than it seems like it should be.

Thanks,
Nick
 
Andrew Watson
Greenhorn
Posts: 25
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Emm...

Have you checked the Manifest file in fact? I mean is it contains classes signature?
You just open your jar file and check.

If manifest file does not contain project signed classes info that means your app is really not signed

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic