core-jgi/utils_dev/keystore.txt

29 lines
1.0 KiB
Plaintext

Keystore Notes $Id$
Java WebStart required signed jars.
The location is assumed under <adempiere_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 adempiere -dname "CN=myName, OU=myName, O=myOrg, L=myTown, ST=myState, C=US" -keypass myPWD -validity 365 -keystore D:\Adempiere\keystore\myKeystore -storepass myPWD
----- Self Sign
keytool -selfcert -alias adempiereTest -dname "CN=myName, OU=myName, O=myOrg, L=myTown, ST=myState, C=US" -keypass myPWD -validity 180 -keystore D:\Adempiere\keystore\myKeystore -storepass myPWD
---- Export/Info Certificate file
keytool -export -keystore D:\Adempiere\keystore\myKeystore -alias adempiere -storepass myPWD -file adempiere.cer
keytool -list -keystore D:\Adempiere\keystore\myKeystore -storepass myPWD
keytool -printcert -file D:\Adempiere\keystore\adempiereTest.cer