Keystore Notes $Id: keystore.txt,v 1.1 2008/01/16 08:22:44 jrmt Exp $

Java WebStart required signed jars.
The location is assumed under <compiere_cvsRoot>/keystore
You may want to put the password in your environment and start ant with -Dpassword=%MY_PASSWORD%


Example commands for creating a key store
-----------------------------------------

keytool -genkey -keyalg rsa -alias compiere -dname "CN=myName, OU=myName, O=myOrg, L=myTown, ST=myState, C=US" -keypass myPWD -validity 365 -keystore D:\Compiere\keystore\myKeystore -storepass myPWD



----- Self Sign

keytool -selfcert -alias compiereTest -dname "CN=myName, OU=myName, O=myOrg, L=myTown, ST=myState, C=US" -keypass myPWD -validity 180 -keystore D:\Compiere\keystore\myKeystore -storepass myPWD



---- Export/Info Certificate file

keytool -export -keystore D:\Compiere\keystore\myKeystore -alias compiere -storepass myPWD -file compiere.cer

keytool -list -keystore D:\Compiere\keystore\myKeystore -storepass myPWD

keytool -printcert -file D:\Compiere\keystore\compiereTest.cer

