File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Verified signed, but jnlp says unsigned. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Verified signed, but jnlp says unsigned." Watch "Verified signed, but jnlp says unsigned." New topic
Author

Verified signed, but jnlp says unsigned.

Nick Jp George
Greenhorn

Joined: Oct 08, 2010
Posts: 18
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

Joined: Dec 02, 2010
Posts: 25
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Verified signed, but jnlp says unsigned.