Java Applet Code Signing

step 1. Creat the keystore. (here my keystore name is mystore)
cmd>keytool -genkey -alias signFiles -keystore mystore -keypass password1 -dname “cn=emagination” -storepass password2

step 1.5. Preparing the jar files and crap..! ezz do it.

step 2. Sign ur applet. (here I am signing a UI.jar as SignedUI.jar)
jarsigner -keystore mystore -storepass password2 -keypass password1 -signedjar SignedUI.jar UI.jar signFiles

For real sign applet for production release:
Read this PDF provided by Verisign. Its pretty clear with steps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: