Sign jar archive

Hi everybody!

I hope that's the right forum :)

I have a jar archive and i wan to sign it with jarsigner. The problem is, that I want to use a certificate and private key, that were not created with keytool.

Both are in a pkcs12 file.

Aaaaaaaaaaaand another question: If you change the content of a signed jar archive, the jar will not start anymore? Is that right?

Thanks for help!

[420 byte] By [niemayda] at [2007-10-2 22:45:35]
# 1

> If you change the content of a signed jar archive, the jar will not start

> anymore? Is that right?

You sign a jar to make sure noone changes the content of the jar.

Changing the content of the jar means you have to resign it.

To convert your p12 to jks you can have a look at this:

http://mark.foster.cc/kb/openssl-keytool.html

harmmeijera at 2007-7-14 5:59:57 > top of Java-index,Security,Signed Applets...