Unsign, resign and update .JAR manfests

A .jar file is simply a .zip with a funky extension. Rename the .jar to .zip and unzip the file.

CD into the META-INF dir and delete everything EXCEPT the manifest file.

Edit the Manifest file and remove all the SHA hashes (probably not necessary)

Once this has been done, rezip the file

Now we need to sign the jar. (Make sure you have the latest JDK installed)

To do this we create a key:

Follow the bouncing ball filling in all the details.

Then sign your JAR file with the following:

That is it!

Comments are closed.