Im trying to sign a Jar file, on.jar, using the Jarsigner provided by j2sdk1.4.2_04. ...so at the prompt, I type> JarSigner on.jar Eoin Then it prompts me for the passphrase for the keystore. I have no idea what the keystore is, or what its passphrase is for that matter! Is there a default passphrase or something? -Actually on a broader scale - am I going about signing it correctly?
Hi Carl, thanks for your help, Im nearly there - there seems to be one problem though. First I create the keystore:
I just copied your example "jaxb.keys" as Im not sure what this is supposed to be, but it worked fine. Then it prompted me for some indormation, which I filled in. For the second part then, signing the Jar, the args I gave were:
It gives the following error:
jarsigner: Certificate chain not found for: omframe.html. omframe.html must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
Is the problem with my url "omframe.htm"? -Thats where I want to have the jar displayed.