Wednesday, June 2, 2010

Sign JARs

(1) Create a Key Store With a Validity Period.
keytool -genkey -alias alias-name -keystore keystore-name -validity 365

(2) Sign the JAR

jarsigner -keystore keystore-name -storepass keystore-password
-keypass key-password jar-file alias-name

thats its, now bundle and deploy.

No comments:

Post a Comment