- Need to create a keystore (like Certificate)
- Go to your java jdk directory (e.g. C:\Program Files\Java\jdk1.6.0_25\bin)
- Type keytool -genkey -keystore icepdfapplet.keystore -alias icepdfapplet -keyalg RSA where icepdfapplet.keystore will be created
- You will be asked for Name, Unit... and password (Please remember the password)
- The keystore will be successfully created
- Now assign the certificate to the jar
- Type jarsigner -keystore icepdfapplet.keystore -storepass 123456789 icepdf-applet.jar icepdfapplet where 123456789 is the password I entered in the previous and icepdf-applet.jar is the jar file being assigned with the certificate
>jarsigner -keystore icepdfapplet.keystore -storepass 123456789 icepdf-applet.jar icepdfapple