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 PDFprovided by Verisign. Its pretty clear with steps.

About the author

I work with customers helping them achieve more using Microsoft Technologies. I am in my 9th year with Microsoft as of March 2020. I get to work with really smart people (both at Microsoft and Customers). Helping customers, removing any blockers, rapid prototyping is my core work.