How to sign Jars. Signing Jars for use in Applets.

Velislav Krastevs Blog for IT and Software Themes

As the Browsers now want the Jars to be signed it happens oft that man have to sign a Jar himself.

Here is a Manual how to sign a Jar.

First you have to install Java SDK.

http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=otnjp

Install the JDK from the list for the envitonment you use.

This Manual is made for Windows users. Set the JAVA_HOME variable and put the JAVA/bin folder in path in order to use the Java commands.

Now you can create your keystore and key pair. Navigate to your home folder as C:Usersusername and execute the following command there in console.

  • Generate a Java keystore and key pair
    keytool -genkey -alias mydomain -keyalg RSA -keystore .keystore

    You should answer some questions and in the end you end up with genrated keystore named .keystore and the key pair. You should write down the password for the keystore as it is important and will be used…

View original post 67 mots de plus

Publicités
Par défaut