$ keytool.exe -genkey -alias tomcat -keyalg RSA -storepass tocat -keypass tomcat -dname "cn=ferris.dnsalias.net"

$ keytool.exe -export -rfc -alias tomcat -file a.cer -storepass tomcat -keypass tomcat

$ keytool.exe -import -noprompt -trustcacerts -alias tomcat -file a.cer -keystore CustomKeystore

REMEMBER

The .keystore file which the JBoss server uses
gets create in the user's home directory

The domain name "ferris.dnsalias.net" in the .keystore
file must match the domain used for the Web Service
calls.  If the CustomKeystore file for the client has
a domain which does not match the Web Service calls
then it will not work.

The same version of the JVM is not needed!	

Blowfish key as array
[14, -112, 72, 7, 62, -117, 43, -84, 78, -106, -87, -49, -32, -94, -64, -100]
	
JAVA 6
======
keytool -genkeypair -alias tomcat -keyalg RSA -keypass tomcat -validity 1000  -storepass tomcat -v

keytool -exportcert -alias tomcat -storepass tomcat -keypass tomcat -file a.cer -rfc 

keytool -importcert -noprompt -trustcacerts -alias tomcat -file a.cer -keypass tomcat -keystore a.keystore -storepass tomcat  


